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(antigravity): distinguish session initialization auth failures by maria-rcks · Pull Request #9919 · pingdotgg/t3code

Conversation

@maria-rcks

@maria-rcks maria-rcks commented Sep 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Collaborator

antigravity session initialization failures after authentication currently appear as generic sign-in failures. identify ACP session/new internal errors as a failure to initialize a session or load models, without exposing the provider error payload.

verified with 19 focused auth tests, server typecheck, and scoped lint and formatting checks. the focused auth test output is shown below. this improves diagnostics; it does not fix the upstream ACP failure.

19 focused antigravity auth tests passing

relates to #9655.

implemented with gpt-6-astra in codex.


Note

Low Risk
User-facing error strings only in Antigravity auth; no changes to sign-in, session, or credential handling logic.

Overview
After Google sign-in succeeds, Antigravity failures during session/new (ACP internal error -32603) no longer surface as generic “Google sign-in failed” messages.

safeAuthFailure now maps that case to: “Antigravity authenticated, but could not initialize a session or load models.” The raw provider errorMessage (e.g. redirect URLs or other payload) is not shown to users.

A focused auth test simulates auth succeeding then session/new failing, and asserts the new copy, no leaked callback details, unchanged model catalog, and clean process shutdown. The test harness types the discovered deferred so it can fail with AcpRequestError like production.

Reviewed by Cursor Bugbot for commit fa71942. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix AntigravityAuth.safeAuthFailure to distinguish session/new errors

Maps ACP request errors from session/new with code -32603 to the message "Antigravity authenticated, but could not initialize a session or load models." instead of the generic auth failure message. Updates makeAuthTestHarness to propagate discovery failures and adds a test covering the post-authentication session failure path.

Macroscope summarized fa71942.

Sorry, something went wrong.

Uh oh!

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

All reactions
@maria-rcks
fix(antigravity): distinguish session initialization auth failures
fa71942
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Sep 5, 2026
@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 PR is a small, well-scoped correction to Antigravity’s user-facing handling of post-authentication session failures, with focused test coverage and no schema or default changes. Because it modifies production authentication behavior and error disclosure, human review is warranted.

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.

@maria-rcks
maria-rcks merged commit 6349a0e into pingdotgg:main Sep 5, 2026
23 checks passed

Uh oh!

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

This was referenced Sep 5, 2026
[Bug]: Linux Antigravity: Google OAuth succeeds, then setup session/new Internal error is shown as "Google sign-in failed" #9655
Closed
fix(server): stop blaming Google sign-in for Antigravity session errors #10137
Closed
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Sep 5, 2026
@github-actions
nightly: 0.0.39-nightly.20260905.1290
0df0f7d
## What's Changed
* fix(web): align tool disclosure chevrons with expanded state by @maria-rcks in pingdotgg/t3code#9935
* fix(antigravity): distinguish session initialization auth failures by @maria-rcks in pingdotgg/t3code#9919
* fix(cursor): cache successful model discovery between refreshes by @maria-rcks in pingdotgg/t3code#9918
* fix(opencode): revert from the first removed assistant message by @maria-rcks in pingdotgg/t3code#9924
* fix(web): resume imported custom-provider threads by @juliusmarminge in pingdotgg/t3code#10184
* test(web): cancel pending highlight fixture frames during cleanup by @juliusmarminge in pingdotgg/t3code#10188


**Full Changelog**: pingdotgg/t3code@v0.0.39-nightly.20260905.1289...v0.0.39-nightly.20260905.1290

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.39-nightly.20260905.1290
@juliusmarminge juliusmarminge mentioned this pull request Sep 14, 2026
[Bug]: Antigravity turn ends on a dropped ACP stream: raw proxy error shown, no reconnect after a clean WebSocket close (1000) #11670
Closed
2 tasks done
@Nurozen Nurozen mentioned this pull request Oct 8, 2026
fix: integrate upstream checkpoint d0f855bfa91b Nurozen/lecturn#115
Merged
henrik092 pushed a commit to henrik092/t3code that referenced this pull request Nov 2, 2026
@maria-rcks
fix(antigravity): distinguish session initialization auth failures (p…
54016bb
…ingdotgg#9919)
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:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

1 participant

@maria-rcks
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.