Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Usage limits count the same Antigravity account twice across environments #48299

Closedgurtprime(GitHub profile, opens in a new tab) opened this issue 2 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server (Antigravity quota reporting)

Steps to reproduce

  1. Link two T3 Code environments. This reproduced with a Windows x64 desktop and a Linux x64 desktop.
  2. Enable Antigravity on each environment and sign in to the same personal Google account on both.
  3. Once both environments report quota, open Usage → Limits and select All environments.
  4. Switch to either environment individually to compare.

Expected behavior

Each Antigravity quota window shows one bar for the shared Google account. The pooled allowance and refill estimate count that account once. Distinct Google accounts each get their own bar.

Actual behavior

Each environment alone shows one Antigravity bar per window. With All environments selected, each of the four Antigravity windows shows two identical bars with matching reset times. The refill estimate also uses the duplicated entries when calculating how much the next reset restores.

Impact

Minor bug. The duplicate bars and pooled refill estimate misrepresent the account's available quota.

Version or commit

T3 Code Nightly 0.1.14-nightly.20261203.5651 (5dea97de40d6). Antigravity uses the agy usage --json quota path.

Investigation and local verification

The Antigravity quota probe returns quota windows without a credentialFingerprint, and the two provider snapshots have no account email. The usage collector falls back to environment ID plus provider instance ID, so the two reports become separate accounts. Quota probe · Account collection

A local patch derives a stable fingerprint from the normalized Google sign-in email already present in the CLI profile and includes it in the quota snapshot. With the patch on both servers, the app's account collector merged the two live reports into one account with one bar per quota window. Regression tests also covered distinct accounts and profiles with no account identity.

Workaround

Select a single environment in Usage → Limits when both environments use the same Google account.

  1. tanstack-source added labelsbug

  2. Closing as this is already addressed by #48198.

  3. This is the same problem as #47957, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

Sign in to join this conversation.