[Bug] Workflow interrupted due to weekly usage limit spike, cached tokens not applied on resume
Status Fixed / completed
Reported on v2.1.178
Maintainer reply None cached
Activity 4 comments · opened Jun 18, 2026 · closed Jun 18, 2026
Bug Description
My workflow was unexpectedly interrupted when my weekly usage limit spiked to 100% and stayed there for several hours (now back to 70%). On resume, the continuation is counted as new input tokens instead of cached tokens, which is both a time loss and an unfair hit on the usage limit. Please investigate.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.178
- Feedback ID: fae1f7fd-c7d9-4b1c-93f2-eec1ef3d50d3
Errors
[]
4 Comments
The same thing happened: the weekly session supposedly ended, although it was actually at 68%. Now everything is back, but even Sonnet wouldn't start for 3 hours.
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Closing as a duplicate of #42338 for the cache part — same end result (full re-cache on continuation, counted as new input tokens instead of cache_read).
One difference worth noting for #42338: in my case there was no manual --resume or --continue. The session was involuntarily interrupted by the weekly usage limit hitting 100%, and the cache was invalidated the same way on continuation. So the cache-prefix invalidation doesn't seem limited to the manual resume path — an interruption-driven continuation triggers it too.
Separately, the premature limit cutoff (limit showing 100% for hours, then dropping back to 70%; @mlch reporting a block at 68% with Sonnet unavailable for ~3h) looks like a distinct issue not covered by #42338. Closest match #46310 was closed as "not planned", so I'll leave that aside here unless I can gather harder data (usage-meter screenshot with timestamps, JSONL excerpt).
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.