[BUG] 5 hour limit reached after only 3 hours
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X ] Other: Claude Code 4 Sonnet
- Claude CLI version: <!-- output of
claude --version--> - Operating System: MacOS 14.7.1
- Terminal: <!-- e.g. iTerm2, Terminal App -->
Claude Code v1.0.89
L Session ID: 5966a933-6df3-4017-9468-bbf5f50bdf52
Working Directory
L /Users/iwolf/Repos/beascout
IDE Integration • /config
✔ Connected to Visual Studio Code extension
L Installed VS Code extension version 1.0.89 (server version: 1.0.57)
Account • /login
L Login Method: Claude Pro Account
L Organization: irawolf81@gmail.com's Organization
L Email: irawolf81@gmail.com
Model • /model
L Sonnet Sonnet 4 for daily use
Bug Description
At 10pm 22Aug2025 EST, I was notified that my limit was reached and that it would reset at 12am (midnight). I resumed my Claude Code session at midnight, accidentally closed my VS Code instance, reopened it and started a new Claude Code session. At 3am 23Aug2025, I was notified with "5-hour limit reached ∙ resets 5am". I was active for only 3 hours, yet my 5 hour limit was reached.
Steps to Reproduce
See Bug Description
Expected Behavior
I expected to be notified my 5 hour limit was reached at 5am after resuming session at midnight.
Actual Behavior
My 5 hour session was terminated 2 hours early.
Additional Context
Did the 5 hour time incorrectly start when my prior session was halted instead of when it was resumed?
<img width="990" height="375" alt="Image" src="https://github.com/user-attachments/assets/0ceeaed2-4108-4e7b-ba29-85f6c95b8db5" />
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗