anthropics / anthropics/claude-code
[Feature Request] Allow running jobs to complete when credit limit reached instead of immediate termination
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
**Bug Description**
don't stop credit when there are running jobas and agents. let them fucking finish!!! prevent new onces to start but let the active jobs finish. you are wasting out time and we need to redoo work and waste more tokens
**Environment Info**
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.274
- Feedback ID: a478513c-b8b8-4901-a9bf-ee599b24bf0e
**Errors**
```json
[{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":{\"error_code\":\"extra_usage_out_of_credits\"},\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cf9p4rDtf1HRY3KUz5mRj\"}\n at o (/$bunfs/root/chunk-kjrhc4qj.js:13:2784)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-17T22:37:37.933Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":{\"error_code\":\"extra_usage_out_of_credits\"},\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cf9oygjzcJ9CB4dhupo5u\"}\n at o (/$bunfs/root/chunk-kjrhc4qj.js:13:2784)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-17T22:37:41.065Z"}]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test entry point is named. Start by reproducing the credit-limit behavior with active jobs, then trace where new work is blocked and running jobs are terminated; done means new jobs cannot start at the limit while active jobs finish.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100