You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Weekly usage and pace break when 5-hour limit is absent #267
I searched existing issues and did not find a duplicate.
What happened?
Codex currently appears to temporarily have no 5-hour usage window. The official UI only shows the weekly limit (75% remaining).
Win-CodexBar seems to assume the first usage window is always the 5-hour/session window. As a result:
The weekly 25% used value is shown under Session
Weekly incorrectly shows 0% used
On-pace budget shows 0% across all periods
Expected
Usage windows should be identified by their duration/reset metadata rather than array position.
If the 5-hour window is absent, Win-CodexBar should still show the available multi-day window as Weekly, hide/mark Session unavailable, and calculate pace from the weekly quota.
Affected area
Tray panel
Settings UI
Config file / settings persistence
CLI
Provider-specific behavior
Installer / release packaging
Startup / background behavior
Other
Steps to reproduce
Use Codex on an account where the 5-hour usage window is not currently present.
Open the official Codex usage UI and confirm only the weekly limit is shown.
Open Win-CodexBar.
Observe that the weekly usage is shown as Session, Weekly shows 0%, and pace values are 0%.
Follow-up: the fix in v0.48.0 appears to handle the tray/CLI, but the Floating Bar still shows 0% in this same state.
Sanitized diagnostics on v0.48.0:
primary: used 0.0%, window_minutes 300, reset null
secondary: used 20.0%, window_minutes 10080
Session: No active 5h session
Weekly: 20% used
The Floating Bar displays 0%, while the tray/CLI reports the weekly 20% correctly. Downgrading to v0.47.0 makes the Floating Bar display the weekly value again (about 20–21%).
It looks like apps/desktop-tauri/src/floatbar/FloatBar.tsx still renders provider.primary directly, without falling back to the valid weekly/secondary window when the 5-hour session is inactive.
Environment: Windows 11 23H2, build 22631.6199. No credentials or account identifiers included.
Activity
Finesssee commentedon Aug 7, 2026
Thanks for the Issue, I will fix it ASAP.
evkaurov commentedon Aug 9, 2026
Follow-up: the fix in v0.48.0 appears to handle the tray/CLI, but the Floating Bar still shows 0% in this same state.
Sanitized diagnostics on v0.48.0:
The Floating Bar displays
0%, while the tray/CLI reports the weekly20%correctly. Downgrading to v0.47.0 makes the Floating Bar display the weekly value again (about 20–21%).It looks like
apps/desktop-tauri/src/floatbar/FloatBar.tsxstill rendersprovider.primarydirectly, without falling back to the valid weekly/secondary window when the 5-hour session is inactive.Environment: Windows 11 23H2, build 22631.6199. No credentials or account identifiers included.