Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Antigravity 1.5.16 Google sign-ins stay in profile storage #41982

OpenberkpolatCE(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/41982/headopened View on GitHub

Showing 2 changed files with 28 additions and 10 deletions.

x
0 of 2 viewed, 2 left
20 additions and 7 deletionsapps/server/src/provider/antigravityAuthSupport.test.tsModified
View file
@@ -72,6 +72,8 @@
GEMINI_HOME: "/shared-gemini-home",
gemini_home: "/alias-shared-home",
AGY_ACP_FORCE_FILE_STORAGE: "0",
+ AGY_CLI_FORCE_FILE_TOKEN_STORAGE: "0",
+ agy_cli_force_file_token_storage: "false",
agy_cli_disable_auto_update: "0",
BROWSER: "open-real-browser",
browser: "another-real-browser",
@@ -100,6 +102,7 @@
PATH: "/usr/bin",
CUSTOM_SETTING: "keep-this",
SSH_CONNECTION: "127.0.0.1 0 127.0.0.1 0",
+ AGY_CLI_FORCE_FILE_TOKEN_STORAGE: "1",
GEMINI_HOME: profile.geminiHome,
AGY_ACP_FORCE_FILE_STORAGE: "1",
AGY_CLI_DISABLE_AUTO_UPDATE: "1",
@@ -112,7 +115,11 @@
});
​
it("passes only the configured method's credential and keeps the GCP pair out of the environment", () => {
- const baseEnv = { PATH: "/usr/bin", GOOGLE_API_KEY: "ambient-key" };
+ const baseEnv = {
+ PATH: "/usr/bin",
+ GOOGLE_API_KEY: "ambient-key",
+ AGY_CLI_FORCE_FILE_TOKEN_STORAGE: "1",
+ };
const spawnFor = (auth: AntigravityAuthConfig) =>