t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Stale Antigravity usage limits card remains frozen at 100% in UI after AntigravityUsageProbe was removed

Open wsy1033 opened this issue 1 day ago • 2 comments

Summary

After upgrading from 0.1.13-nightly.20261125.5245 to 0.1.14-nightly.20261130.5465 (where AntigravityUsageProbe was removed per PR #43026 / #44002), the Usage → Limits modal still renders a stale Antigravity quota card frozen at 100% (Claude & GPT (shared) · 5-hour: 100%, Weekly: 100%), even while Antigravity threads actively fail with HTTP 429: Third-party quota reached.

Environment

  • T3 Code Version: 0.1.14-nightly.20261130.5465 (auto-updated from 0.1.13-nightly.20261125.5245)
  • OS: macOS (arm64)
  • Provider: Antigravity (oauth-personal, usageAccess: "allowed")

Observed Behavior

  1. Before the auto-update (0.1.13-nightly.20261125.5245), AntigravityUsageProbe.fetchWindows polled retrieveUserQuotaSummary and populated the Antigravity card in Usage → Limits (at that time Claude & GPT (shared) was at 100%).
  2. After updating to 0.1.14-nightly.20261130.5465, the server no longer polls retrieveUserQuotaSummary (0 AntigravityUsageProbe spans in server.trace.ndjson) and ~/.t3/caches/antigravity.json no longer has usageLimits (null).
  3. Running multiple claude-opus-5-5 turns exhausted the 5-hour third-party quota and Antigravity returned HTTP 429 (RESOURCE_EXHAUSTED): Third-party quota reached. ... Resets in 4h34m32s.
  4. Opening Usage → Limits still displays the stale Antigravity card showing Claude & GPT (shared) · 5-hour: 100% and Weekly: 100%, creating a confusing mismatch where the UI claims full quota while every thread is rate-limited.

Expected Behavior

Once a provider stops reporting usageLimits (such as after AntigravityUsageProbe is removed), any previously persisted/cached usageLimits card for that provider should be cleared from the UI instead of staying frozen at stale values.

Related

  • #44002 (confirmed intentional removal of AntigravityUsageProbe in PR #43026)
  • #43955

wsy1033 avatar Nov 30 '26 10:11 wsy1033

I just burned my usage down because of this bug.

Same on stable 0.1.13 (Linux). The card freezes at whatever the last reading was, not just 100%: mine shows "43% left · resets now" while Antigravity reports the limit as hit.

hsd-sl avatar Nov 30 '26 11:11 hsd-sl

Found the cause in my case: the stale card came from the desktop client's cached server config of a different environment that was offline. That machine last connected while running 0.1.12 (which still probed Antigravity), so its cached config still carried usageLimits. The Limits view pools providers from all enabled environments, connected or not, and since no server reports Antigravity limits anymore, nothing fresher replaced the cached reading. Turning that machine back on and letting it reconnect cleared the card.

@wsy1033 do you also have a second environment added that might be offline?

hsd-sl avatar Dec 01 '26 09:12 hsd-sl