GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): usage limits refresh Claude and stop faking Antigravity quota by diogocoutinho · Pull Request #38 · diogocoutinho/t3code

Conversation

@diogocoutinho

@diogocoutinho diogocoutinho commented Nov 22, 2026

Copy link
Copy Markdown
Owner

The usage limits screen showed stale or invented numbers. Refreshing returned Claude's cached usage probe for up to 5 minutes, and when Google refused Antigravity's quota summary (403 on both hosts) the per-model fallback showed untouched buckets as a made-up 100%.

  • Claude: an explicit refresh re-reads usage when the last probe is a minute or older, keeping the 1-minute floor against 429s. Ports upstream fix(server): refreshing providers re-reads Claude usage older than a minute pingdotgg/t3code#28720 and fix(server): an explicit refresh re-reads Claude usage, with a CI-runnable proof pingdotgg/t3code#36533.
  • Antigravity: when the summary fails and the fallback only has untouched buckets, the provider publishes unavailable ("Google does not report Antigravity quota usage for this account.") instead of 100%. Real readings and the last good reading are unchanged.
  • Codex (managed / ChatGPT token sharing): unchanged. Rate-limit events arrive with null windows in this mode and a native read could report another account's limits, so unsupported stays.

Tests: new cases in managedProvider.test.ts and antigravityUsageLimits.test.ts fail on main and pass here; vp run check:changed passes.

Work by Claude Opus 5.5 via Claude Code in EasyDev Code.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
diogocoutinho and others added 2 commits November 22, 2026 11:50
@diogocoutinho @claude
fix(server): refreshing providers re-reads Claude usage older than a …
7beae4d
…minute

An explicit refresh (the Usage -> Limits button, server.refreshProviders)
re-ran the Claude check but read usage from the capabilities probe cache,
which keeps a probe for five minutes, so the bars could stay up to five
minutes stale. The refresh now invalidates that cache when the last usage
probe is at least a minute old. The floor keeps repeated refreshes from
hammering Claude's per-account rate-limited usage endpoint, and is measured
from the last probe so live rate_limit_event updates do not hold it back.

Ported from upstream pingdotgg#28720 and pingdotgg#36533.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@diogocoutinho @claude
fix(server): Antigravity no longer shows a made-up full quota when Go…
99f9c31
…ogle refuses the summary

For accounts Google refuses retrieveUserQuotaSummary for (403 on both
hosts), the probe fell back to fetchAvailableModels, whose quotas read
untouched even after real use, and Usage -> Limits showed every
Antigravity window at 100% left. When the summary fails on every host and
the model fallback has nothing but untouched quotas, the probe now
reports the limits unavailable with a reason instead. Model quotas that
show real use are still published.

Refs pingdotgg#40193 and pingdotgg#40015.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M labels Nov 22, 2026
@diogocoutinho
diogocoutinho merged commit 437028c into main Nov 22, 2026
13 of 24 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@diogocoutinho
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.