[Bug]: Stable v0.0.42 Antigravity install fails (t3 -e browser preflight) on Linux x64 #13215
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/server
Steps to reproduce#
- Install T3 Code stable v0.0.42 (
@t3code/t3-linux-x64, self-containedt3ELF). - Ensure
nodeis on PATH (system or fnm). - Settings → Providers → Antigravity → Install Antigravity (no custom binary path).
- Wait for download/extract; validation fails within ~1s.
Minimal helper repro (same browserHelperSource as the binary):
# What T3 spawns (HostProcessExecutablePath = t3):
$ t3 -e 'process.stderr.write("__T3_ANTIGRAVITY_AUTH_URL__"+JSON.stringify(process.argv[1])+"\n")' -- 'https://example.invalid/t3-antigravity-browser-preflight'
# exit=1, stdout=full t3 --help, stderr=Unrecognized flag: -e in command t3
# Same helper with real Node:
$ node -e '...' -- 'https://example.invalid/...'
# exit=0, stderr=__T3_ANTIGRAVITY_AUTH_URL__"...", stdout empty
Expected behavior#
Install validates and activates the managed Antigravity runtime. Browser-suppression preflight should run a real Node (-e), not the compiled t3 CLI.
Actual behavior#
AcpTransportError: ACP transport operation failed.
(detail: Antigravity browser suppression could not be verified.)
→ AntigravityInstallationError: The downloaded Antigravity runtime could not start in this environment.
~/.t3/caches/antigravity.json → installed: false, status: "error", generic message only. ACP archive download/hash is fine; failure is preflight only (~1s, not 90s VALIDATION_TIMEOUT).
Impact#
Blocks work completely
Version or commit#
0.0.42 (stable; predates #12033 / bf55408a5)
Environment#
- Linux x64, CachyOS (kernel 7.2.6-1-cachyos)
process.execPath=~/.t3/runtime/versions/0.0.42/.../t3(Node embedder with Effect CLI, rejects-e)- Node on PATH: v24 (fnm) and
/usr/bin/nodev26 — both pass the helper - Also reported on Windows D1/L1 machines with the same error string
Logs or stack traces#
# prepareAntigravityProfile → authSupportError
# wrapFailure("verify", "The downloaded Antigravity runtime could not start in this environment.")
# causes in server.trace.ndjson: AcpTransportError at prepareAntigravityProfile
# (Array.<anonymous> checking exitCode/stdout/stderr marker)
Repro: t3 -e → exit 1 / Unrecognized flag: -e in command t3; node -e → expected marker on stderr.
Workaround#
- Upgrade to a build that includes #12033 (
resolveNodeExecutablefrom PATH) — nightlies from 2026-09-16 onward; not in stable 0.0.42. - Local patch (0.0.42 binary): in
prepareAntigravityProfile, changeinput.runtimeExecutablePath ?? (yield* HostProcessExecutablePath)→ default helper to/usr/bin/node(or any real Node on PATH), restartt3code.service, retry Install.
Related: #11767 (root issue, fixed on main), #13076 (same on Debian 13 / 0.0.42), #12033 (fix PR).
Pipyakas(GitHub profile, opens in a new tab) closed this
Triage#
Confirmed, and this is a duplicate of #11767. The diagnosis in this report is correct for v0.0.42.
On that release,
prepareAntigravityProfilestill takesHostProcessExecutablePath(process.execPath) and preflights browser suppression with:<execPath> -e '<browserHelperSource>' -- https://example.invalid/t3-antigravity-browser-preflightA compiled
t3/ SEA binary is not Node, so Effect CLI printsUnrecognized flag: -e in command t3and exits 1. Managed install then surfacesAntigravity browser suppression could not be verified/The downloaded Antigravity runtime could not start in this environment.Fixed on main by #12033 (
resolveNodeExecutablefrom PATH). That fix is not in the v0.0.42 tag; nightlies from 2026-09-16 onward include it. Same wash as #13076 / #12245.Duplicate of #11767 (fixed on main by #12033; not in v0.0.42).
juliusmarminge added labelsduplicate
juliusmarminge closed this
Sign in to join this conversation.
Duplicate of #13216 (opened with the full bug template). Closing this one.