Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,mobile): Limits shows why a provider's limits are unavailable #40481

Mergedseankd3(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/40481/headmerged by juliusmarminge View on GitHub

When a provider can't read its limits for an "unsupported" reason, the Limits page dropped it with no row and no notice, even when the reading said why. An Antigravity instance with no readable sign-in reported "Sign in with Google to see Antigravity limits." and disappeared from Limits, which looks like Antigravity isn't supported at all.

Now an unsupported reading that carries a message shows it as a notice, on web and mobile, which share collectLimitNotices. A bare unsupported reading still means the account has no limits and stays hidden. A reading with an external usage link stays hidden too, because the link already shows its message.

Proof: the new case in packages/shared/src/usageLimits.test.ts fails on main (expected the Antigravity notice, received []) and passes with the fix. All 94 tests in the file pass, and vp run check:changed passes. There is no screenshot. No local provider reaches this state without a broken sign-in, and the page already renders this notice list.

Created with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

    1. Pushed93732d1

    2. Evidence

      Added Antigravity with Google account selected, refreshed provider status, then opened Usage → Limits and refreshed limits. Both sides used fresh databases, Chromium at 1280×800, and light theme.

      Proven: the scenario fails on base and passes on head.

      BeforeAfter
      a3001b33fe93732d1ba7
      Before: Limits omits Antigravity's explanationAfter: Limits displays Antigravity's explanation
      Before recordingAfter recording

      Scenario script

      Evidence uploaded using the ghdrop skill.

      Not shown:

      • Native mobile rendering was not exercised; this proof covers the web reproduction.
      • Other unavailable reasons and external usage-link deduplication were not exercised by this reproduction.
    3. juliusmarminge added labelstakeover:ready

    4. juliusmarminge removed labelstakeover:in-progress

    5. juliusmarminge merged thisba4f99a

    6. juliusmarminge closed this

    7. juliusmarminge removed labelstakeover:ready

Sign in to join this conversation.