codex - 💡(How to fix) Fix Feature request: show rate limit reset countdown in the TUI status line [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#21003Fetched 2026-05-05 05:54:41
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1unlabeled ×1

Code Example

5h 98%
weekly 92%

---

5h reset 4h12m 98%
weekly reset 3d4h 92%

---

zime78/codex:codex/status-reset-countdown

---

52188d5 Show rate limit reset countdown in status line

---

https://github.com/openai/codex/compare/main...zime78:codex/status-reset-countdown?expand=1

---

cargo fmt -p codex-tui
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo test -p codex-tui rate_limit --lib
RAW_BUFFERClick to expand / collapse

Feature request

Please show a compact reset countdown for rate-limit windows directly in the TUI status line when reset data is available.

Today the status line can show values like:

5h 98%
weekly 92%

This makes it difficult to tell how much time is actually left until each limit resets. The main reason for this request is that the remaining reset time is hard to see and understand at a glance, especially when deciding whether to keep working in the current session, wait for a reset, or switch models.

A clearer status line could look like:

5h reset 4h12m 98%
weekly reset 3d4h 92%

Suggested behavior

  • When reset timestamp data is available, show a compact countdown next to the existing limit label and percentage.
  • Keep the current output format as a fallback when reset timestamp data is unavailable.
  • Use short labels such as 1m, 1h1m, 2d, or 2d3h so the status line stays compact.

Implementation reference

I prepared a branch with a small implementation and tests, but opening a PR from this environment was blocked by GitHub permissions.

Branch:

zime78/codex:codex/status-reset-countdown

Commit:

52188d5 Show rate limit reset countdown in status line

Compare URL:

https://github.com/openai/codex/compare/main...zime78:codex/status-reset-countdown?expand=1

Validation run on the branch:

cargo fmt -p codex-tui
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo test -p codex-tui rate_limit --lib

extent analysis

TL;DR

Review and merge the provided branch zime78/codex:codex/status-reset-countdown to implement the compact reset countdown feature.

Guidance

  • Examine the implementation in the codex/status-reset-countdown branch and verify that it meets the requirements outlined in the issue.
  • Run the validation commands cargo fmt -p codex-tui and CARGO_NET_GIT_FETCH_WITH_CLI=true cargo test -p codex-tui rate_limit --lib to ensure the changes do not introduce any formatting or testing issues.
  • Review the commit 52188d5 to understand the specific changes made to display the rate limit reset countdown in the status line.
  • Check the compare URL https://github.com/openai/codex/compare/main...zime78:codex/status-reset-countdown?expand=1 to see a detailed diff of the changes.

Example

No code snippet is provided as the issue references a specific branch and commit that contains the implementation details.

Notes

The implementation is already prepared in a branch, but GitHub permissions blocked the creation of a PR. Thus, the focus should be on reviewing and merging this branch.

Recommendation

Apply the workaround by reviewing and merging the codex/status-reset-countdown branch, as it directly addresses the requested feature and has undergone initial validation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Feature request: show rate limit reset countdown in the TUI status line [1 comments, 2 participants]