Repository navigation
fix(antigravity): Google sign-in sticks again on Antigravity 1.5.16 - #1083
Merged
Merged
Conversation
Antigravity 1.5.16 no longer takes an SSH session as the cue to keep a Google sign-in in the profile's own file. It saved the sign-in to the OS keyring instead, so the status, which reads the file, kept saying "Not signed in" right after sign-in reported success. Set the CLI's own switch, AGY_CLI_FORCE_FILE_TOKEN_STORAGE, on every Antigravity process. Sign-in now also fails with a plain message when the CLI leaves no sign-in in the profile, instead of reporting success on a sign-in the account doesn't own.
badcuban
enabled auto-merge
November 24, 2026 04:52
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
After updating Antigravity to 1.5.16,
Sign in with Googlereports success and the Antigravity row still says "Not signed in". Signing in again changes nothing.Threadlines keeps each Antigravity account's Google sign-in in a file in that account's profile, and the status reads that file. Up to 1.5.15 the CLI chose file storage when it thought it ran over SSH, which Threadlines arranges with a stand-in
SSH_CONNECTION. 1.5.16 ignores that and saves the sign-in to the OS keyring unlessAGY_CLI_FORCE_FILE_TOKEN_STORAGEis set. The file never appeared, so the status never saw a sign-in. The keyring entry is also the one every profile and the user's own terminalagyshare, so accounts were no longer kept apart.Fix
AGY_CLI_FORCE_FILE_TOKEN_STORAGE=1on every Antigravity process, next to the settings older versions go by.agy acp --loginexits, sign-in checks that the profile holds the sign-in file. If it doesn't, sign-in fails with a message that says so, instead of opening a session on a sign-in the account doesn't own and reporting success.Checked
--loginstill prints Google's link.Anyone who signed in on 1.5.16 before this needs to sign in once more.