Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Stable 0.0.42 Antigravity browser preflight still uses t3 -e (fixed on main by #12033, not in tag) #13216

ClosedPipyakas(GitHub profile, opens in a new tab) opened this issue 1 comment

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 / run T3 Code stable v0.0.42 (@t3code/t3-linux-x64) as the self-contained t3 binary (service or desktop).
  2. Ensure node is on PATH (for comparison only).
  3. Settings → Providers → Antigravity → Install Antigravity (no custom executable path).
  4. Observe status error within ~1s after download (or immediately on validate).

Minimal shell repro of the browser-suppression preflight:

$ t3 -e 'process.stderr.on("error",()=>process.exit(0)).write("__T3_ANTIGRAVITY_AUTH_URL__"+JSON.stringify(process.argv[1])+"\n",()=>process.exit(0))' -- 'https://example.invalid/t3-antigravity-browser-preflight'
exit=1
stdout: full t3 --help
stderr: ERROR Unrecognized flag: -e in command t3

$ node -e 'process.stderr.on("error",()=>process.exit(0)).write("__T3_ANTIGRAVITY_AUTH_URL__"+JSON.stringify(process.argv[1])+"\n",()=>process.exit(0))' -- 'https://example.invalid/t3-antigravity-browser-preflight'
exit=0
stderr: __T3_ANTIGRAVITY_AUTH_URL__"https://example.invalid/t3-antigravity-browser-preflight"
stdout: empty

Expected behavior

prepareAntigravityProfile should spawn the browser helper with a real Node (-e accepts the script), or skip/avoid re-execing process.execPath when it is the compiled t3 CLI. Install should complete validation and activate the managed runtime.

Actual behavior

Preflight runs <t3> -e <helper> -- <url>. The Effect CLI rejects -e, exit 1, help on stdout / Unrecognized flag: -e in command t3 on stderr. That fails the exact match in prepareAntigravityProfile → Antigravity browser suppression could not be verified. → validate wraps as The downloaded Antigravity runtime could not start in this environment. Install rolls back. Download/hash of the ACP zip is fine.

Impact

Blocks work completely

Version or commit

t3 v0.0.42 (@t3code/t3-linux-x64); fix landed on main via #12033 but is not in this stable tag.

Environment

  • CachyOS / Linux x86_64, kernel 7.2.6-1-cachyos
  • process.execPath = packaged t3 ELF (Node embedder with its own flag parser), not node
  • System node on PATH works for the same helper (fnm v24 and /usr/bin/node v26)
  • Also seen on Windows D1/L1 with the same error string (per fleet reports)

Logs or stack traces

# from ~/.t3/userdata/logs/server.trace.ndjson*
AcpTransportError → detail: Antigravity browser suppression could not be verified.
  at Array.<anonymous> (prepareAntigravityProfile preflight check)
  at prepareAntigravityProfile
AntigravityInstallationError: The downloaded Antigravity runtime could not start in this environment.
  wrapFailure("verify", ...)
# duration ~1s (not VALIDATION_TIMEOUT 90s)

# ~/.t3/caches/antigravity.json
{"installed": false, "status": "error", "message": "Antigravity is not installed. Install it in this environment or set a custom executable path."}

Workaround

Until #12033 is in a stable release (or upgrade to a nightly ≥ 2026-09-16 that includes it), patch the prepareAntigravityProfile default helper path in the installed t3 binary from HostProcessExecutablePath / process.execPath to a real Node (e.g. /usr/bin/node), then restart the T3 service and reinstall Antigravity. Custom Antigravity binaryPath alone does not help — that preflight does not use the ACP executable.

Related: #11767, #13076, #12033.


Model: ccgw/mimo-v2.6-flash-free. Harness: OpenCode / T3 Code.

  1. Duplicate of #11767 — already fixed on main by #12033 (fix(server): resolve Node for standalone helper scripts, merged 2026-09-16).

    Stable v0.0.42 predates that fix. Until the next stable that includes #12033, use a nightly ≥ 2026-09-16, or the workaround you described (point the browser-helper spawn at a real node on PATH).

    Closing as duplicate.

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge closed this

Sign in to join this conversation.