GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): stop blaming Google sign-in for Antigravity session errors by rizakara · Pull Request #10137 · pingdotgg/t3code

Conversation

@rizakara

@rizakara rizakara commented Sep 5, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Antigravity setup runs authenticate and then a session/new probe in the same flow. When that probe fails, safeAuthFailure has no case for it and falls through to "Google sign-in failed. Start sign-in again." — even though Google succeeded and acp_token.json was already written. Acting on that banner means signing out, which deletes the token that was working, so the user loops forever.

An AcpRequestError already carries the method it failed on, so a session/* failure can be recognised as post-authentication and reported as such. initialize is deliberately left alone: it runs before authenticate, so the existing wording is still correct there.

  • Before: Google sign-in failed. Start sign-in again.
  • After: Signed in, but Antigravity could not start a session. Retry without signing out.

On the underlying failure from #9655: it is not the throwaway setup cwd, as that issue guessed. The agent's own log shows session/new dying in the harness handshake with Failed to parse initial message: proto: (line 3:5): unknown field "cascadeid". agy_acp_server 1.1.1 serializes HarnessConfig.cascade_id as lowercase cascadeid, and the localharness_external binary shipped in the same archive only accepts cascadeId. Probing that harness directly confirms it: cascadeId parses, cascadeid produces exactly the reported error, and Go's protojson reports unknown field names verbatim. cascade_id comes from a session id the agent generates itself, so nothing T3 sends reaches it, and the ACP registry still lists 1.1.1 as current — there is no newer build to pin. That part is not fixable here; this PR only stops T3 from misreporting it as a sign-in failure and pushing users into a destructive sign-out.

Fixes #9655

🤖 Generated with Claude Code

Note

Fix safeAuthFailure to report session/* ACP errors as Antigravity session failures, not Google sign-in failures

  • Adds handling in safeAuthFailure (AntigravityAuth.ts) for ACP request errors whose method starts with session/. When no earlier case matches, the formatter now reports sign-in succeeded but Antigravity could not start a session, advising retry without signing out.
  • Updates the auth test harness (AntigravityAuth.test.ts) so the discovered deferred can fail with AcpErrors.AcpError, and adds a test verifying the corrected failure classification after a session/new error.

Macroscope summarized 9bd867a.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rizakara @claude
fix(server): stop blaming Google sign-in for Antigravity session errors
9bd867a
Antigravity setup runs `authenticate` and then a `session/new` probe in the
same flow. When the probe fails, `safeAuthFailure` had no case for it and fell
through to "Google sign-in failed. Start sign-in again." — even though Google
had succeeded and `acp_token.json` was already written. Following that banner
means signing out, which deletes the working token.

Map an ACP request error on a `session/*` method to a message that says the
sign-in worked and tells the user not to sign out.

Co-Authored-By: Claude Opus 5 <[email protected]>
@github-actions github-actions Bot added size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list. labels Sep 5, 2026
@rizakara rizakara mentioned this pull request Sep 5, 2026
[Bug]: Linux Antigravity: Google OAuth succeeds, then setup session/new Internal error is shown as "Google sign-in failed" #9655
Closed
2 tasks done
@macroscopeapp

macroscopeapp Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — The production change alters user-facing handling of post-authentication ACP failures in the Google credential flow and advises users not to sign out, while the accompanying test covers the targeted session/new case. Because this touches sensitive authentication behavior, the change warrants human review despite its narrow scope.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Sep 5, 2026

Copy link
Copy Markdown
Member

Superseded by #9919 (merged), which already distinguishes Antigravity session/new auth failures from Google sign-in failures. Closing this as a leftover duplicate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Linux Antigravity: Google OAuth succeeds, then setup session/new Internal error is shown as "Google sign-in failed"

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@rizakara @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.