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](https://cursor.com/bugbot) for commit fa71942a53befe4fd4e8178e98de58842bd2bf26. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).
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](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).