codex - ✅(Solved) Fix Incorrect truncation of reset times in /status (CLI, macOS app, VS Code extension) [1 pull requests, 1 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#17453Fetched 2026-04-12 13:28:34
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×1unlabeled ×1

Root Cause

The /status command becomes partially useless because users cannot determine when limits reset.

Fix Action

Fixed

PR fix notes

PR #17481: Wrap status reset timestamps in narrow layouts

Description (problem / solution / changelog)

Addresses #17453

Problem: /status rate-limit reset timestamps can be truncated in narrow layouts, leaving users with partial times or dates.

Solution: Let narrow rate-limit rows drop the fixed progress bar to preserve the percent summary, and wrap reset timestamps onto continuation lines instead of truncating them.

Changed files

  • codex-rs/tui/src/status/card.rs (modified, +27/-3)
RAW_BUFFERClick to expand / collapse

What issue are you seeing?

The /status (or /stan) command incorrectly displays reset times for usage limits.

  • 5h limit reset shows only partial hour (e.g. "14" instead of full time like "14:32")
  • 7 day limit reset shows only first digit of the day (e.g. "2" instead of "21")
  • this makes the information effectively unusable

Where does it occur?

  • Codex CLI
  • Codex macOS app
  • Codex VS Code extension

Expected behavior

Full timestamp should be displayed (date + time), not truncated.

Why this matters

The /status command becomes partially useless because users cannot determine when limits reset.

Additional notes

This appears to be a shared UI/formatting issue rather than CLI-specific, since it occurs across multiple Codex interfaces.

Possibly related to string truncation, layout width, or formatting logic.

<img width="631" height="304" alt="Image" src="https://github.com/user-attachments/assets/46d0d2c5-025a-489e-9224-85a8919f193d" />

extent analysis

TL;DR

The issue can likely be resolved by adjusting the formatting logic or string truncation settings to display full timestamps for usage limit reset times.

Guidance

  • Investigate the shared UI/formatting code used across Codex interfaces to identify where the truncation is occurring.
  • Check the layout width and formatting settings to ensure they are not causing the timestamp to be cut off.
  • Consider adding a minimum width or character limit to the timestamp field to prevent truncation.
  • Review the code responsible for generating the /status command output to see if there are any string formatting or truncation functions that can be adjusted.

Example

No specific code example can be provided without more information about the underlying codebase, but the fix may involve modifying a line of code that generates the timestamp string, such as changing a formatting function or removing a truncation limit.

Notes

The exact fix will depend on the specifics of the Codex codebase and the technologies used to generate the UI. Without more information, it's difficult to provide a precise solution.

Recommendation

Apply a workaround by adjusting the formatting logic or string truncation settings, as this is likely to be a simpler and more targeted fix than attempting to upgrade to a potentially non-existent fixed version.

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…

FAQ

Expected behavior

Full timestamp should be displayed (date + time), not truncated.

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 - ✅(Solved) Fix Incorrect truncation of reset times in /status (CLI, macOS app, VS Code extension) [1 pull requests, 1 participants]