[BUG] Background tasks panel shows long-dead Bash tasks as "Running"; survives app restart and manual stop
Open 💬 2 comments Opened Jun 11, 2026 by rrsean
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?
Background tasks panel shows long-dead Bash tasks as "Running"; survives app restart and manual stop
- Session started in CLI, connected to desktop via /remote-control
- Two run_in_background Bash commands from ~7h ago: one was killed (SIGTERM, exit 143 failure notification was delivered), the other completed (exit 0, completion notification delivered)
- Backend no longer tracks them: TaskStop returns "No task found with ID", no matching processes in ps
- But the desktop "Background tasks" panel still lists both as Running with an ever-growing elapsed timer
- Tried: dismissing, restarting the desktop app, manually stopping them in the panel — entries reappear every time
What Should Happen?
- Expected: task entries should be reconciled/closed when the underlying process exits
Error Messages/Logs
Steps to Reproduce
not sure how to reproduce though.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.172 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗