Repository navigation
fix(server): Antigravity install no longer fails on a stale Windows Crashpad pipe - #26374
Conversation
…pipe On Windows the server can inherit CHROME_CRASHPAD_PIPE_NAME from an updater or installer launch chain whose owner has exited. The Antigravity browser preflight helper (Electron run as Node) then logs a Crashpad CreateFile error to stderr, the exact-stderr check fails, and install reports that browser suppression could not be verified. Strip CHROME_CRASHPAD_PIPE_NAME (case-insensitively) from the Antigravity environment, which covers the preflight, the ACP runtime, and the sign-in BROWSER helper it spawns. Fixes #26368 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The change prevents Antigravity subprocesses from inheriting a stale Crashpad pipe that can disrupt installation. Its effect is confined to child-process environment sanitization, without changing authentication settings or stored data. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Filter the Crashpad pipe variable apps/server/src/provider/antigravityAuthSupport.ts, apps/server/src/provider/antigravityAuthSupport.test.ts |
The removed environment key list now includes CHROME_CRASHPAD_PIPE_NAME. The test base environment includes uppercase and lowercase versions of the variable. |
Priority:
Estimated code review effort: 2 (Simple) | ~5 minutes
Change: Bug fix · Severity of issue fixed: Medium
Possibly related PRs
- pingdotgg/t3code#26115 — Both PRs extend environment filtering for Antigravity child processes, for different variables.
Suggested reviewers: macroscopeapp
Merge Risk: 
Minimal · up to 7c78e
-
The environment filtering fix addresses the reported Antigravity preflight failure without leaving an identified merge-blocking risk.
Pre-merge checks: 
4
-
Check name Status Explanation Title check The title names the change and the symptom: Antigravity installs no longer fail on a stale Windows Crashpad pipe. It matches the PR, which adds CHROME_CRASHPAD_PIPE_NAME to removedEnvironmentKeys. It … Description check The description follows the template. It has Problem, Change, Scope and approval, and Verification sections. The Problem and Change sections are clear and detailed. Scope links the issue ( #26368) and …Linked Issues check [ #26368] The issue asks that the Antigravity browser-preflight environment stop carrying a stale CHROME_CRASHPAD_PIPE_NAME. Its suggested fix is to add that key to removedEnvironmentKeys in antigravit…Out of Scope Changes check The whole-PR diff against merge base be2ea30 touches two files. In antigravityAuthSupport.ts, the change adds one entry and a two-line comment to removedEnvironmentKeys. In antigravityAuthSupport.test… Full details: Title check
-
Explanation
The title names the change and the symptom: Antigravity installs no longer fail on a stale Windows Crashpad pipe. It matches the PR, which adds CHROME_CRASHPAD_PIPE_NAME to removedEnvironmentKeys. It is specific and follows conventional commit form, so it passes.
Full details: Description check
-
Explanation
The description follows the template. It has Problem, Change, Scope and approval, and Verification sections. The Problem and Change sections are clear and detailed. Scope links the issue (
#26368) and says it was triaged through the automated issue flow. Verification lists focused test runs, before and after results, a runtime transcript, and states what could not be checked on Windows. The Scope section is thin: it does not include a maintainer approval comment or explain why the fix qualifies without prior discussion. The template asks for that explanation, so the check is marked as a pass with that gap noted.
Full details: Linked Issues check
-
Explanation
[
#26368] The issue asks that the Antigravity browser-preflight environment stop carrying a stale CHROME_CRASHPAD_PIPE_NAME. Its suggested fix is to add that key to removedEnvironmentKeys in antigravityEnvironment. At head 7c78ead, apps/server/src/provider/antigravityAuthSupport.ts adds "CHROME_CRASHPAD_PIPE_NAME" to removedEnvironmentKeys. antigravityEnvironment drops any base env key whose key.toUpperCase() is in that set, so the variable and its case aliases are removed. prepareAntigravityProfile builds the preflight spawn env from antigravityEnvironment, so the preflight child no longer inherits the stale pipe. The test file adds the uppercase key and a lowercase alias to the base env of the existing isolation test, which covers the case-insensitive removal. The optional stderr tolerance in the issue is not a requirement. The PR keeps the strict stderr check, which the PR description states explicitly. The change does not alter the 5 s timeout or the compiled-binary variants that the issue lists as related. Live Windows reproduction was not run, so the Crashpad stderr behavior is not verified on Windows. The source-level requirement is met.
Full details: Out of Scope Changes check
-
Explanation
The whole-PR diff against merge base be2ea30 touches two files. In antigravityAuthSupport.ts, the change adds one entry and a two-line comment to removedEnvironmentKeys. In antigravityAuthSupport.test.ts, the change adds two base-env entries, the uppercase CHROME_CRASHPAD_PIPE_NAME key and its lowercase alias, to the existing environment-isolation test. Both edits target the same stale-Crashpad-pipe behavior described in
#26368. No unrelated code, refactoring, or documentation changes appear in the reviewed diff. The PR description's build and test commands are reported as results and were not re-run here.
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
**v0.1.9-nightly.20261110.4452** · 15 changes from 4 contributors - **Background command details.** Inspect background commands, their status and captured output, and navigate to their subagents. - **Requested page changes.** Agents can make changes through page tools when you ask them to. - **Expanded image navigation.** Pan zoomed images and Mermaid diagrams using a trackpad or mouse wheel. - **Antigravity usage pricing.** Usage recognizes more Antigravity models and prices their token usage more accurately. ### Plus 8 more bug fixes. <details> <summary>Full changelog</summary> ## What's Changed * fix(web): new threads use the last used project by @Yash-Singh1 in pingdotgg/t3code#33626 * fix(mobile): distinguish local ACP instances by name by @shivamhwp in pingdotgg/t3code#32467 * ci(mobile): dev clients build on Blacksmith, and mobile:install starts that build by @juliusmarminge in pingdotgg/t3code#33617 * fix(mobile): Android sidebar and composer transitions no longer reflow at rest by @juliusmarminge in pingdotgg/t3code#33599 * fix(server): price Antigravity Gemini Flash effort variants by @Ephraim-9 in pingdotgg/t3code#13809 * fix(mobile): Android feed stays at its end after the keyboard or sidebar changes by @juliusmarminge in pingdotgg/t3code#33611 * fix(server): Antigravity install no longer fails on a stale Windows Crashpad pipe by @juliusmarminge in pingdotgg/t3code#26374 * ci(mobile): Android PR preview clients build on Blacksmith by @juliusmarminge in pingdotgg/t3code#33618 * fix(web): scrolling pans expanded images and Mermaid diagrams by @shivamhwp in pingdotgg/t3code#26630 * fix(desktop): agents see visible:true while the desktop shows their tab by @shivamhwp in pingdotgg/t3code#23589 * fix(server): allow requested WebMCP writes by @shivamhwp in pingdotgg/t3code#26570 * fix(antigravity): resolve model names from usage metadata by @Yash-Singh1 in pingdotgg/t3code#33661 * fix(web): show details for background commands by @Yash-Singh1 in pingdotgg/t3code#33647 * fix(ci): store-build checkouts drop credentials without submodule cleanup by @juliusmarminge in pingdotgg/t3code#33664 * fix(web): "Use T3 Code in another app" opens the Grok Bot app by @juliusmarminge in pingdotgg/t3code#33663 **Full Changelog**: pingdotgg/t3code@v0.1.9-nightly.20261110.4449...v0.1.9-nightly.20261110.4452 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.9-nightly.20261110.4452
Integrates 15 upstream commits (nightly 4449 to 4452) with one conflict in a generated file: background commands show their details (pingdotgg#33647), Antigravity model names from usage metadata (pingdotgg#33661), Gemini Flash effort pricing (pingdotgg#13809) and an install that no longer fails on a stale Windows Crashpad pipe (pingdotgg#26374), WebMCP writes on request (pingdotgg#26570), agents see visible:true while the desktop shows their tab (pingdotgg#23589), scrolling pans expanded images and Mermaid diagrams (pingdotgg#26630), "Use T3 Code in another app" opens the Grok Bot app (pingdotgg#33663), new threads use the last used project, and mobile and CI fixes (pingdotgg#33611, pingdotgg#33599, pingdotgg#32467, pingdotgg#33664, pingdotgg#33618, pingdotgg#33617). No dependency file changed. No fork feature was added or dropped. The conflict is apps/server/src/provider/agentContextBudget.json, the measured agent context size: upstream lowered its three values by 2, 2 and 16 bytes, and the fork's mcpToolListJsonBytes was larger (52804 instead of 48233). Resolved as 5547 / 7277 / 52788 (both changes added); AgentContextBudget.test.ts confirms that the measured sizes equal these values. check:changed against the pre-merge HEAD (74 files) passes in every step: format, lint, knip, graphql, the typecheck of 41 packages, 40 test files, node --test and the react compiler check. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Problem
On Windows, installing Antigravity can fail with "Antigravity browser suppression could not be verified." This happens when the server inherits a stale
CHROME_CRASHPAD_PIPE_NAME, for example a dead\\.\pipe\crashpad_<pid>_…carried in through an updater or installer launch chain. The browser-preflight helper is the Electron exe run as Node, and it passed that variable through. The helper then prints a Crashpadregistration_protocol_win.cc … CreateFileerror to stderr before the marker line, so the preflight's exact stderr match fails. The install rolls back on every retry.Change
CHROME_CRASHPAD_PIPE_NAMEis added toremovedEnvironmentKeysinapps/server/src/provider/antigravityAuthSupport.ts. That list is matched case-insensitively and feedsantigravityEnvironment, which builds the environment for the browser preflight, for the ACP runtime, and for the sign-inBROWSERhelper the runtime starts. None of these children need a Crashpad pipe, and T3 registers no crash reporter of its own. The strict stderr check is unchanged.Scope and approval
Fixes #26368
Triaged via the automated issue flow.
Verification
vp test run apps/server/src/provider/antigravityAuthSupport.test.ts: the existing test "Antigravity process environment > isolates the profile and harness after merging overrides without changing the base environment" now putsCHROME_CRASHPAD_PIPE_NAMEand a lowercase alias in its base env.vp run check:changed: format, lint, knip, typecheck and tests all pass.Runtime transcript:
buildAntigravityAcpSpawnInputwith a win32 profile and the stale pipe from the report in its base env:env-transcript.mjs (synthetic driver, not committed)
On Linux, the preflight helper source run under real Electron 44.9.3 with
ELECTRON_RUN_AS_NODE=1prints only the marker line, with or without the stale variable. The Crashpad pipe registration is Windows-only code, so the visible symptom cannot be reproduced on Linux.cannot-verify windows: the Crashpad stderr line and the full Antigravity install on Windows were not run. The mechanism comes from the reporter's Procmon capture and their manual re-spawn.
Claude Opus 5.5 (lead, test, implementation, review B) and GPT-6.1 Sol (review A), via Claude Code and Codex in T3 Code.
🤖 Generated with Claude Code