Skip to content

Commit 12085f0

Browse files
fix(server): Antigravity install no longer fails on a stale Windows Crashpad pipe (pingdotgg#26374)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent 5e59ece commit 12085f0

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/server/src/provider/antigravityAuthSupport.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ describe("Antigravity process environment", () => {
7676
browser: "another-real-browser",
7777
PYTHONUNBUFFERED: "0",
7878
ELECTRON_RUN_AS_NODE: "0",
79+
CHROME_CRASHPAD_PIPE_NAME: "\\\\.\\pipe\\crashpad_50144_ZUJNJELFHHXPBIRT",
80+
chrome_crashpad_pipe_name: "\\\\.\\pipe\\crashpad_stale_alias",
7981
CUSTOM_SETTING: "keep-this",
8082
};
8183
const original = { ...baseEnv };

‎apps/server/src/provider/antigravityAuthSupport.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ const removedEnvironmentKeys = new Set([
7676
"BROWSER",
7777
"PYTHONUNBUFFERED",
7878
"ELECTRON_RUN_AS_NODE",
79+
// An inherited pipe whose owner exited makes Electron-as-Node print Crashpad errors to stderr.
80+
"CHROME_CRASHPAD_PIPE_NAME",
7981
]);
8082

8183
export interface AntigravityProfile {

0 commit comments

Comments
 (0)