Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Stable v0.0.42 Antigravity install fails (t3 -e browser preflight) on Linux x64 #13215

ClosedPipyakas(GitHub profile, opens in a new tab) opened this issue 2 comments

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

  1. Install T3 Code stable v0.0.42 (@t3code/t3-linux-x64, self-contained t3 ELF).
  2. Ensure node is on PATH (system or fnm).
  3. Settings → Providers → Antigravity → Install Antigravity (no custom binary path).
  4. 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/node v26 — 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

  1. Upgrade to a build that includes #12033 (resolveNodeExecutable from PATH) — nightlies from 2026-09-16 onward; not in stable 0.0.42.
  2. Local patch (0.0.42 binary): in prepareAntigravityProfile, change input.runtimeExecutablePath ?? (yield* HostProcessExecutablePath) → default helper to /usr/bin/node (or any real Node on PATH), restart t3code.service, retry Install.

Related: #11767 (root issue, fixed on main), #13076 (same on Debian 13 / 0.0.42), #12033 (fix PR).

  1. Duplicate of #13216 (opened with the full bug template). Closing this one.

  2. Triage

    Confirmed, and this is a duplicate of #11767. The diagnosis in this report is correct for v0.0.42.

    On that release, prepareAntigravityProfile still takes HostProcessExecutablePath (process.execPath) and preflights browser suppression with:

    <execPath> -e '<browserHelperSource>' -- https://example.invalid/t3-antigravity-browser-preflight

    A compiled t3 / SEA binary is not Node, so Effect CLI prints Unrecognized flag: -e in command t3 and exits 1. Managed install then surfaces Antigravity browser suppression could not be verified / The downloaded Antigravity runtime could not start in this environment.

    Fixed on main by #12033 (resolveNodeExecutable from 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).

  3. juliusmarminge added labelsduplicate

  4. juliusmarminge closed this

Sign in to join this conversation.