Observed while packaging q1code: the published npm package t3@0.0.38 contains dist/resource-monitor/<platform>/t3-resource-monitor with mode 0644 (pnpm pack normalizes modes). After npm install the file is not executable, so ResourceMonitorBinary.resolve fails with ResourceMonitorBinaryNotExecutable on launcher-installed servers.
Reproduce:
curl -fsSL "$(npm view t3@latest dist.tarball)" -o t3.tgz
tar -tvzf t3.tgz | grep resource-monitor
Fix options for an up/ branch cut from main (no fork references in the diff or PR text):
- In
apps/server/src/resourceTelemetry/ResourceMonitorBinary.ts, chmod 0755 once when the bundled binary exists but lacks 0o111, before failing.
- Or post-process modes in
apps/server/scripts/cli.ts publish.
q1code works around it at install time (scripts/fork/install.sh) and in the cliproxy resolver.
Observed while packaging q1code: the published npm package
t3@0.0.38containsdist/resource-monitor/<platform>/t3-resource-monitorwith mode 0644 (pnpm pack normalizes modes). Afternpm installthe file is not executable, soResourceMonitorBinary.resolvefails withResourceMonitorBinaryNotExecutableon launcher-installed servers.Reproduce:
Fix options for an
up/branch cut frommain(no fork references in the diff or PR text):apps/server/src/resourceTelemetry/ResourceMonitorBinary.ts, chmod 0755 once when the bundled binary exists but lacks 0o111, before failing.apps/server/scripts/cli.ts publish.q1code works around it at install time (
scripts/fork/install.sh) and in the cliproxy resolver.