[BUG] Remote run stuck, no cancel option, no visible timeout
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?
I had an agent created and a test run started. As I type it's been running for 1hour, 10minutes. For what should've been a quick set of url checks (That code desktop later said should've been done differently...)
"⏺ That's a bug/runaway session on Anthropic's end — nothing you can do from the UI.
It'll eventually hit whatever hard timeout they have on CCR sessions.
Worth filing at https://github.com/anthropics/claude-code/issues — a stuck remote
run with no cancel option and no visible timeout is a real gap."
Hopefully this isn't costing me tokens...
What Should Happen?
The CCR should either
- have a kill button in the web ui
- at least have a timeout
... it should be managable in some way
Error Messages/Logs
No messages of any sort. Code suggests you'd like to know:
⏺ The API only returns trigger config — no run status, no session ID, no timestamps
for the current run. That's itself worth noting in the issue.
For your bug report, here's what you have:
- Trigger ID: trig_01DPSsbXLMaUH26y4JhVKCFx
- Environment ID: env_01LEyM6jrQPHb9xU7MuLfGJR
- Run started: ~20:25 UTC on 2026-04-08 (manually triggered via "Run now" in UI)
- Original prompt: Used WebFetch tool on 4 URLs with no timeout — likely hung on a
TCP connection to a non-resolving hostname
- Duration: 85+ minutes with no termination
- No cancel button in the UI
- No run status visible via the trigger GET API — only config is returned
- Model: claude-sonnet-4-6
The key bugs to highlight: (1) no way to cancel a running session, (2) no hard
timeout on CCR runs, (3) no run status/session ID exposed in the API or UI.
Steps to Reproduce
Have Code create an agent that fails.
Have it then "fix" the agent that it then tells me to hit the Run now button. Then let it hang for some reason that I have no insight into while waiting to try the now fixed code.
Yes, this is a terrible How To Reproduce
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.87
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
I feel like this probably needs to be reported somewhere else(, too)?
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗