Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): resume Antigravity threads without repeated sign-in #9647

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/9647/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

After a server restart, reopening an Antigravity thread shows a provider warning and blocks sending because T3 treats unchecked authentication as signed out. Saved Google credentials are still present, and refreshing provider status restores access.

Allow session startup to check the saved login and selected model. Hide the warning for an installed Antigravity provider whose authentication has not been checked. Keep installation errors and confirmed sign-in failures visible. Clarify the refresh control in the user docs.

Validation: 136 focused web and Antigravity adapter tests pass, including native authentication, session resume, and missing-login handling. Web typecheck and targeted lint pass. On macOS, the adapter suite uses TMPDIR=/private/tmp to avoid an existing temporary-directory symlink mismatch.

Validation uses focused tests only at the maintainer's request. Browser testing and screenshots were not performed.

Created with GPT-6 Astra (preview) in Codex.


Note

Low Risk Targeted Antigravity UX gating in the web client with expanded tests; confirmed unauthenticated and install errors remain blocked.

Overview After a server restart, Antigravity often reports auth unknown and an empty model catalog even when saved Google credentials are still valid. This PR stops treating that state like a sign-in failure so users can keep chatting on existing threads.

Composer send gating (getAntigravitySendBlockReason) now blocks only on confirmed unauthenticated auth, not on unknown. With auth still unchecked, sends are allowed when a model is selected (including after catalog reload); empty model and real sign-out/install/catalog rules are unchanged.

Provider status banner hides the warning for installed Antigravity in warning + unknown auth, while still showing install failures, errors, and confirmed unauthenticated states. Banner visibility is aligned with getProviderStatusBannerKey.

User docs clarify that unchecked sign-in after restart does not require re-login, that session startup validates saved credentials, and where Refresh provider status lives in Settings.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit b557c84ddf3ba16ea24d3dfdac302532e2ce2036. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Fix Antigravity thread resume without repeated sign-in

  • Update getAntigravitySendBlockReason to only block explicitly unauthenticated providers, allowing sends for unknown auth states when a model is selected.
  • Suppress the warning banner in ProviderStatusBanner for installed Antigravity providers with unknown authentication.
  • Update providers-antigravity.md to document that existing threads can continue while authentication is unchecked.
  • Behavioral Change: getAntigravitySendBlockReason no longer blocks sends for installed providers with unknown authentication, relying on session startup to validate saved credentials.
Macroscope summarized b557c84.
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire13.6 KiB13.7 KiB+166 B (+1.2%)15.1 KiB✅
      CodexThread snapshot wire7.0 KiB7.0 KiB+6 B (+0.1%)7.3 KiB✅
      CodexLive turn WebSocket wire6.6 KiB6.7 KiB+160 B (+2.4%)7.8 KiB✅
      CodexLive turn WebSocket decoded57.1 KiB58.5 KiB+1.4 KiB (+2.5%)66.4 KiB✅
      CodexLive turn messages10100 (0.0%)21✅
      ClaudeTotal thread wire13.6 KiB13.6 KiB−11 B (−0.1%)15.1 KiB✅
      ClaudeThread snapshot wire7.0 KiB7.0 KiB+6 B (+0.1%)7.3 KiB✅
      ClaudeLive turn WebSocket wire6.6 KiB6.6 KiB−17 B (−0.3%)7.8 KiB✅
      ClaudeLive turn WebSocket decoded57.9 KiB57.9 KiB0 B (0.0%)66.4 KiB✅
      ClaudeLive turn messages10100 (0.0%)21✅

      Baseline: 09d13de · PR result: b557c84 · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 113.8 KiB
      • Claude decoded thread snapshot: 114.5 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

    3. Approvability

      Verdict: Not approved

      Macroscope's review found this PR not approvable — This PR narrowly fixes Antigravity resume behavior and updates the UI to distinguish an unchecked startup state from a sign-in failure. Because it changes authentication-related send gating and sign-in status presentation, human review is warranted.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).

Sign in to join this conversation.