[BUG] Claude Code / background-task issue on my account
Preflight Checklist
- [x] I have searched existing issues 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 Claude Support,
I need help investigating a serious Claude Code / background-task issue on my account.
I have multiple Claude Code background tasks that are still showing as “Running” after approximately 129–143 hours. These are ordinary coding tasks such as:
- Create auth route files — Agent — 143h 36m 56s — 15.4k tokens — 8 tool uses
- Type-check the project — Bash — 131h 14m 33s
- Create API route files — Agent — 130h 55m 10s — 17.0k tokens — 7 tool uses
- Create onboarding pages — Agent — 130h 54m 44s — 39.4k tokens — 24 tool uses
- Create contact components and API — Agent — 129h 46m 04s — 41.1k tokens — 27 tool uses
These tasks do not appear to be normal multi-day jobs. They look stalled, orphaned, or stuck in long-running processes. I am also being timed out or locked out of my account repeatedly and much more quickly than expected. I need to know whether these background tasks are consuming usage, tokens, session time, concurrency limits, compute limits, or otherwise contributing to my account lockouts.
I am not intentionally leaving these jobs running. The UI shows them as active background tasks, but it is not clear whether I am expected to manually terminate them, whether Claude Code failed to stop them, or whether the system has a bug where completed/stalled tasks remain active indefinitely.
Please investigate the following:
- Are these background tasks still actively running on your backend?
- Are they consuming tokens, usage limits, compute, or account/session quota while displayed as running?
- Are they contributing to my repeated timeouts or lockouts?
- Can you terminate any orphaned/stuck jobs on my account?
- Can you review whether I was incorrectly charged or rate-limited because of these stuck jobs?
- Can you explain why routine tasks like route generation, onboarding page creation, API route creation, and type-checking are showing as running for 130+ hours?
- Can you provide guidance on how users are supposed to safely stop or clean up background Claude Code tasks?
I am attaching a screenshot showing the background task panel and the unusually long runtimes.
This is blocking my ability to work because I cannot tell whether Claude Code is actually working, stuck, consuming my usage, or causing account-level limits. Please escalate this as a Claude Code background-task/runtime/quota accounting issue.
Thank you.
Darnell • 1h
Additional evidence for the first stuck task:
The task “Create auth route files” shows as Running for 143h 36m 56s, but the transcript indicates the work was already completed.
The transcript shows the agent checked the project structure, read 2 files, ran one command, created 3 files, and then returned the completion message: “All three files have been created.”
The files created were:
- src/app/(auth)/layout.tsx
- src/app/(auth)/login/page.tsx
- src/app/(auth)/signup/page.tsx
This was a simple route/page creation task and the transcript does not show any long-running command, watcher process, server process, or unfinished operation. Based on the transcript, the task should have closed after the files were created.
Please investigate why this completed task still appears as Running for more than 143 hours, and whether that stale/running state is affecting my account usage, session limits, rate limits, lockouts, or timeout behavior.
<img width="451" height="844" alt="Image" src="https://github.com/user-attachments/assets/92a26e5f-280a-4955-9ceb-819d261e9718" />
What Should Happen?
when a task is labeled complete the agent time should stop not run for an additional 129 hours
Error Messages/Logs
it is still timming me out and i havent been using it
Ran 6 agents
Background tasks
4 completed
Server was temporarily limiting requests
You've hit your session limit · resets 4:30am (UTC)
Server was temporarily limiting requests
Server was temporarily limiting requests
Background tasks
7 stopped
Server was temporarily limiting requests
WHERE DO I FILE THE COMPLAINT
Server was temporarily limiting requests
Server was temporarily limiting requests
WHERE DO I FILE THE COMPLAINT
Server was temporarily limiting requests
WHERE DO I FILE THE COMPLAINT
Server is temporarily limiting requests
Too many requests right now — try again in a mome
Steps to Reproduce
I'll create all three files. Let me first check the existing project structure for any patterns to follow.
Found files, read 2 files
Now I'll check the directory structure exists and create all three files.
Ran a command, created 3 files
All three files have been created:
src/app/(auth)/layout.tsx/layout.tsx) -- Auth layout with full-screen bg-bg background, centered card container (bg-bg2, rounded-2xl, border-bg3), and the Atmosphyre wordmark in font-serif text-3xl text-accent with the tagline below it.
src/app/(auth)/login/page.tsx/login/page.tsx) -- Login page with "Welcome back" heading in font-serif, email and password inputs styled with bg-bg3 border-bg4 rounded-lg, a "Sign in" button with bg-accent text-bg, and a link to /signup.
src/app/(auth)/signup/page.tsx/signup/page.tsx) -- Signup page with "Join Atmosphyre" heading, two side-by-side role selector cards ("Creator / Fan" and "Brand") using bg-bg3 border-bg4 rounded-xl p-6 with SVG icons and descriptions, followed by email/password/confirm-password fields, a "Create account" button, and a link to /login.
All components are server components (no "use client" directive), use the project's design system color classes and font classes consistently, and follow the existing code patterns from the root layout.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
4.6
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗