fix(codex): publish live quota while local history scans continue - #1222
Closed
sahiinthehood wants to merge 1 commit into
Closed
fix(codex): publish live quota while local history scans continue#1222sahiinthehood wants to merge 1 commit into
sahiinthehood wants to merge 1 commit into
Conversation
sahiinthehood
requested review from
davidarny,
robinebers and
validatedev
as code owners
September 5, 2026 16:39
|
Thanks for your interest in contributing to OpenUsage! External pull requests must reference an open issue that:
Please discuss the change on an issue first, wait for a maintainer to approve and assign it to you, then reopen this pull request with |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Latest tested candidate:
6d26110on fix/codex-quota-refresh. GitHub's closed PR head still points to the initial candidate; reopen only after issue approval/assignment to refresh the PR to the current branch tip. The description below covers that latest candidate.Fixes #1223 (awaiting maintainer approval and assignment before reopening).
TL;DR
Keep Codex quota updates responsive when local token-history scans take longer than the provider refresh deadline. Preserve local history processing instead of letting it prevent fresh Session/Weekly values from reaching the menu bar.
What was happening
What this changes
Heads-up
Tests
swift test --disable-sandbox -j 2: 1,318 XCTest cases, 3 explicit live-test skips, zero failures; 3 Swift Testing checks passed.