anthropics / anthropics/claude-code
[BUG] Session and weekly usage limits jump to a high percentage with no activity
- 主要语言
- Python
- 星标
- 145k
- 派生
- 23.1k
- PR 合并指标
- PR 指标待抓取
描述
### Preflight Checklist
- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
### What's Wrong?
Hello,
I believe there is a usage accounting problem on my account and I'd like it investigated.
The issue:
1) Immediately after my five-hour session resets, the "Current session" value jumps straight to around 50% without me sending a single message. It is not a gradual increase — it goes up in one step.
2) The same happens with the weekly limit. When the weekly window renews, it does not start from zero but from an already high percentage.
In both cases I have no active usage at that moment: no new conversation, no messages sent, no background job running, and no other device or tab left open.
Account details:
- Name: Ahmet Balaman
- Account email: ahmetbalaman073@gmail.com
- Plan: [Pro / Max 5x / Max 20x]
- Primary surface: Claude Code (CLI) on macOS
- Date and time the jump was observed (UTC+3): [date/time]
- Screenshots attached: Settings > Usage, before and after the jump
Could you please review how usage is being metered on my account and explain why these percentages increase this way? If there is an accounting error, I'd appreciate it being corrected and the lost usage restored.
Thank you,
Ahmet Balaman
### What Should Happen?
Please fix it
### Error Messages/Logs
```shell
```
### Steps to Reproduce
Hello,
I believe there is a usage accounting problem on my account and I'd like it investigated.
The issue:
1) Immediately after my five-hour session resets, the "Current session" value jumps straight to around 50% without me sending a single message. It is not a gradual increase — it goes up in one step.
2) The same happens with the weekly limit. When the weekly window renews, it does not start from zero but from an already high percentage.
In both cases I have no active usage at that moment: no new conversation, no messages sent, no background job running, and no other device or tab left open.
Account details:
- Name: Ahmet Balaman
- Account email: ahmetbalaman073@gmail.com
- Plan: [Pro / Max 5x / Max 20x]
- Primary surface: Claude Code (CLI) on macOS
- Date and time the jump was observed (UTC+3): [date/time]
- Screenshots attached: Settings > Usage, before and after the jump
Could you please review how usage is being metered on my account and explain why these percentages increase this way? If there is an accounting error, I'd appreciate it being corrected and the lost usage restored.
Thank you,
Ahmet Balaman
### Claude Model
None
### Is this a regression?
Yes, this worked in a previous version
### Last Working Version
_No response_
### Claude Code Version
2.1.247
### Platform
Anthropic API
### Operating System
macOS
### Terminal/Shell
Terminal.app (macOS)
### Additional Information
_No response_
贡献指南
这个仓库没有索引到贡献指南
调研方向
No source files or tests are named. Start with Claude Code 2.1.247 on macOS and the Settings > Usage view; compare session and weekly values immediately before and after each reset using the missing UTC+3 timestamps and screenshots. Confirm whether any messages, jobs, devices, or tabs were active. Done means the accounting cause is identified and the usage is corrected or the behavior explained.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100