Repository navigation
fix(server): poll provider usage only while visible #31032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ElliotDrel
wants to merge
111
commits into
pingdotgg:main
Choose a base branch
from
ElliotDrel:t3/claude-usage-polling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+6,630
−1,104
Open
Changes from all commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
51a9a88
fix(server): poll provider usage only while visible
ElliotDrel 22c9753
fix(server): preserve usage refresh state across surfaces
ElliotDrel 7745561
test(server): inject the shared usage client in reset fixtures
ElliotDrel f7c1571
fix: address usage polling review regressions
ElliotDrel 934fba4
fix: preserve usage freshness across cached and delayed reads
ElliotDrel d149f0e
fix(web): refresh usage when an instance changes driver
ElliotDrel f9b4f40
fix: refresh pooled accounts and retain native sample times
ElliotDrel 0e899b9
fix(server): isolate Claude probes and retain source backoff
ElliotDrel bf5ee43
fix(server): discard usage successes invalidated in flight
ElliotDrel 2a2a349
fix(server): retain quota cooldowns through OAuth renewal
ElliotDrel 4d5df94
fix(server): retain quota identity when userinfo fails
ElliotDrel 068dfe3
fix(server): release expired usage response snapshots
ElliotDrel f5bde45
test(server): assert cached Antigravity sample age
ElliotDrel 1c3ff0c
fix(server): defer Claude resets during usage cooldowns
ElliotDrel 29535d3
fix(server): preserve pending resets and account usage clears
ElliotDrel b78986c
fix(server): await quota reads and retain Claude account cooldowns
ElliotDrel 622824c
fix: preserve Cursor cooldowns and legacy usage refreshes
ElliotDrel eb08226
fix(server): coordinate refreshes and share account readings
ElliotDrel d5ffe94
fix(server): preserve refresh order and discovered account cooldowns
ElliotDrel 6a553d0
fix(usage): invalidate rejected credits and batch Limits refreshes
ElliotDrel 0bbcbc6
fix(usage): seed hub command availability once at startup
ElliotDrel b0b37a6
fix(usage): queue Limits reads after enabling Cursor
ElliotDrel f795258
fix(usage): honor retained-chat visibility and Cursor sign-in
ElliotDrel a93758b
fix(usage): respect hidden columns and credential ownership
ElliotDrel aa55a91
fix(usage): preserve account identity and refresh report time
ElliotDrel c418632
fix(usage): retain Antigravity identity during failures
ElliotDrel b364bf4
fix(usage): await shared reads and recover from cancellation
ElliotDrel a4f2717
fix(usage): await automatic client refresh coalescing
ElliotDrel 81a2c4a
fix(web): retain pending usage reads across remounts
ElliotDrel b225a28
fix(mobile): throttle visible indicator refresh restarts
ElliotDrel 9e5069f
fix(server): use the environment service in Claude probe tests
ElliotDrel 4838cc1
chore: merge main into usage polling fix
ElliotDrel 87ac21e
fix(mobile): preserve usage refresh deadlines after reopening
ElliotDrel 09ae420
chore: sync usage polling branch with main
ElliotDrel 6809a1e
fix(codex): omit usage failures from health-only probes
ElliotDrel 6759e6a
fix(usage): clear switched accounts and retain refresh deadlines
ElliotDrel 6aeafd0
fix(providers): preserve usage ownership and shared refresh deadlines
ElliotDrel ec6e515
fix(grok): omit usage failures from health-only checks
ElliotDrel 1e9cf3c
fix(usage): discard redeemed credits from retained hub readings
ElliotDrel 59a0c52
fix(grok): keep supported usage commands available before polling
ElliotDrel 3f8ca2c
fix(usage): reconcile source credit snapshots after redemption
ElliotDrel 7c94e96
refactor(usage): retain hub readings in one service
ElliotDrel d73ea03
fix(usage): isolate hub ownership and preserve failed probes
ElliotDrel 9e5889e
fix(web): share usage deadlines across entry points
ElliotDrel e31a4ae
fix(web): initialize shared refresh interval baselines
ElliotDrel 9735580
Merge remote-tracking branch 'github/main' into t3/claude-usage-polling
maria-rcks f571073
fix(mobile): share usage deadlines between thread and Limits views
maria-rcks 1f841f3
fix(mobile): share usage deadlines across entry points
ElliotDrel 75c9484
fix(grok): retain quota ownership across token renewal
ElliotDrel 80bb85e
merge: reconcile remote mobile deadline fix without duplicate caches
ElliotDrel f066824
merge: preserve usage polling controls with current main
ElliotDrel fda0613
fix(grok): preserve account cooldowns across token renewal
ElliotDrel 597621f
fix(test): complete usage secret resolver fixtures after main merge
ElliotDrel 6cac8d8
Merge remote-tracking branch 'github/main' into t3/claude-usage-polling
maria-rcks 9f56e38
test(server): add secret resolver label to usage source stubs
maria-rcks adb5c04
fix(mobile): share widget quota deadlines with usage views
ElliotDrel e7ec23b
fix(server): refresh quotas before fallback routing
ElliotDrel 470c4f8
fix(usage): preserve server quota deadlines across clients
ElliotDrel a782ec1
merge: preserve on-demand catalogs with usage refresh routing
ElliotDrel d9952ef
fix(antigravity): retain quota deadlines in direct snapshots
ElliotDrel 7f9c061
test(server): await process lifecycle without fixture deadlines
ElliotDrel 25fa349
Merge remote-tracking branch 'origin/main' into t3/claude-usage-polling
ElliotDrel 7f54b79
fix(usage): skip cached health probes and hidden mobile reads
ElliotDrel 025fdea
fix(usage): refresh client defaults and normalize remote deadlines
ElliotDrel 39ee83b
fix(web): scope default quota demand to each draft
ElliotDrel 0e2d2ef
fix(usage): bound default-selection quota waits
ElliotDrel cd28b41
test(web): use compatible deferred promises
ElliotDrel c19636d
fix(server): refresh quotas only for eligible fallbacks
ElliotDrel c1fcd04
test(server): align cold preflight expectation order
ElliotDrel 77be7e1
fix(usage): validate saved picks and preserve quota cache deadlines
ElliotDrel a9e7712
fix(usage): preserve cache expiry across instances and sign-ins
ElliotDrel 7184407
fix(usage): isolate Claude credentials and skip hidden hub reads
ElliotDrel 4c2f73a
fix(usage): retain failure expiry and refresh after reconnects
ElliotDrel 2b14c6e
test(mobile): supply per-environment widget presentations
ElliotDrel 1526b96
Merge main into t3/claude-usage-polling
ElliotDrel 701d38d
Merge remote-tracking branch 'github/main' into t3/claude-usage-polling
maria-rcks 2029b7d
fix(server): bound quota waits before generation and launches
maria-rcks d1c0085
fix(usage): bound server selection quota preflights
ElliotDrel 77a6c69
merge: preserve concurrent quota wait fixes and regressions
ElliotDrel 48be95f
fix(server): refresh quotas only for fallback candidates
maria-rcks d1d2210
Merge remote-tracking branch 'fork/t3/claude-usage-polling' into t3/c…
ElliotDrel 200576c
fix(web): keep quota waits out of draft working state
ElliotDrel 0614dd8
fix(web): reconcile draft quota results across snapshot updates
ElliotDrel c1fac06
fix(usage): revalidate due quotas at client demand
ElliotDrel ac39762
fix(web): compile quota preflights and normalize coverage paths
ElliotDrel ee96852
fix(usage): advance retained hub deadlines after listing failures
ElliotDrel f40a6e2
fix(usage): preserve Antigravity expiry and refresh Cursor opt-in
ElliotDrel 98d68e6
merge: integrate main while preserving usage demand guards
ElliotDrel b299f95
fix(usage): back off Antigravity quota demand after health failures
ElliotDrel 48ae5a0
fix(provider): exclude external-only usage from quota deadlines
ElliotDrel a792901
fix(opencode): invalidate quota freshness when Go credentials change
ElliotDrel d6c879a
fix(usage): separate local freshness keys from workspace identity
ElliotDrel 60d258c
fix(opencode): check quota ownership before reusing freshness
ElliotDrel 81f8385
fix(usage): retain failed quotas when credential ownership matches
ElliotDrel 44b3146
fix(usage): invalidate freshness on Grok account and instance changes
ElliotDrel 565f935
Merge remote-tracking branch 'origin/main' into t3/claude-usage-polling
ElliotDrel d761d81
fix(usage): preserve visible provider filter after main integration
ElliotDrel ac58a17
fix(usage): retain cold-start command availability
ElliotDrel d672184
fix(mobile): pace retries of overdue usage readings
ElliotDrel 6ba0559
fix(usage): retain owned quotas through health-only marker changes
ElliotDrel 09a65ab
fix(grok): clear subscription quotas for unsupported auth
ElliotDrel febc487
test(codex): report failures before subprocess startup
ElliotDrel 2a2863c
fix(web): pace repeated overdue quota refreshes
ElliotDrel 43ddeaf
fix(claude): invalidate quota freshness on local account changes
ElliotDrel 5b0afcd
fix(usage): retain expiry on synthesized cooldown responses
ElliotDrel e5a2d7d
fix(codex): track native quota ownership before reusing freshness
ElliotDrel a16e8b5
refactor(usage): remove unused pending-refresh mode
ElliotDrel e0d829f
fix(server): stop quota reads at the first usable fallback
ElliotDrel a5ed779
fix(codex): invalidate quotas when native ownership changes
ElliotDrel 8eed9b4
fix(usage): preserve hub retry deadlines in the cache
ElliotDrel 68c32c9
fix(usage): invalidate removed Grok auth and skip ineligible fallbacks
ElliotDrel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.