[codex] Fix usage-limit reset copy and state#28793
Merged
Merged
Conversation
9ddb959 to
42f0a6f
Compare
42f0a6f to
f3b209e
Compare
fcoury-oai
approved these changes
Jun 19, 2026
fcoury-oai
left a comment
Contributor
There was a problem hiding this comment.
Tested and works, code looks good. Approved 👍
f3b209e to
bae7cca
Compare
bae7cca to
b785628
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Why
The reset flow introduced in #28154 still describes earned reset credits as "rate-limit resets" and uses generic reset-scope copy. It can also retain a stale available-credit count after redemption or an account change, leaving the reset action enabled after the last credit is used.
This follow-up updates terminology only within that reset feature. Existing rate-limit wording elsewhere in the CLI and TUI is unchanged.
What changed
/usagemenu items, startup hints, and reset dialogs to "usage limit reset."/usageis reopened, and refresh the balance after redemption so the final reset immediately disables the action.Validation
just test -p codex-tui chatwidget::tests::usage— 29 passed.just test -p codex-tui chatwidget::tests::status_command_tests— 7 passed.cargo insta pending-snapshotsfromcodex-rs/tui— no pending snapshots.\