Skip to content

fix(antigravity): Google sign-in sticks again on Antigravity 1.5.16 - #1083

Merged
badcuban merged 1 commit into
mainfrom
fix/antigravity-1-5-16-sign-in
Nov 24, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/antigravity-1-5-16-sign-in

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Problem

After updating Antigravity to 1.5.16, Sign in with Google reports 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 unless AGY_CLI_FORCE_FILE_TOKEN_STORAGE is 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 terminal agy share, so accounts were no longer kept apart.

Fix

  • Set AGY_CLI_FORCE_FILE_TOKEN_STORAGE=1 on every Antigravity process, next to the settings older versions go by.
  • After agy acp --login exits, 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

  • Live logs: 1.5.15 logs "Using file-based token storage because SSH session detected"; 1.5.16 with the same environment logs nothing of the kind and authenticates from the keyring.
  • The real 1.5.16 binary in a throwaway profile with the new setting logs "Using file-based token storage because AGY_CLI_FORCE_FILE_TOKEN_STORAGE is set", and --login still prints Google's link.
  • Not checked: a full Google sign-in on 1.5.16 writing the file at the path Threadlines reads. If it lands elsewhere, the new check reports it.

Anyone who signed in on 1.5.16 before this needs to sign in once more.

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
badcuban enabled auto-merge November 24, 2026 04:52
@vercel

vercel Bot commented Nov 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 24, 2026 4:52am UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 08c47b3 Nov 24, 2026
25 checks passed
@badcuban
badcuban deleted the fix/antigravity-1-5-16-sign-in branch November 24, 2026 05:04

This branch was previously deployed

1 inactive deployment
Preview — 5afbe0d5 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant