Skip to content

Conversation

@tibo-openai
Copy link
Collaborator

@tibo-openai tibo-openai commented Oct 17, 2025

This change ensures that we store the absolute time instead of relative offsets of when the primary and secondary rate limits will reset. Previously these got recalculated relative to current time, which leads to the displayed reset times to change over time, including after doing a codex resume.

For previously changed sessions, this will cause the reset times to not show due to this being a breaking change:
Screenshot 2025-10-17 at 5 14 18 PM

Fixes #4761

@tibo-openai tibo-openai changed the title Switch rate limit reset handling to timestamps fix: switch rate limit reset handling to timestamps Oct 17, 2025
@tibo-openai tibo-openai marked this pull request as ready for review October 18, 2025 00:16
@tibo-openai tibo-openai enabled auto-merge (squash) October 18, 2025 00:25
@tibo-openai tibo-openai merged commit 0e08dd6 into main Oct 18, 2025
20 checks passed
@tibo-openai tibo-openai deleted the tibo/resets-at-rate-limits branch October 18, 2025 00:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5h + Weekly limit reset timestamps miscalculated after session resume

2 participants