[BUG] Claude Code Web: session enters unrecoverable state on failure
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 was working on a feature, told claude code to utilize tasks to finish the implementation. Some process caused Claude code to say Claude Code execution failed... and now the button to enter a prompt is stuck on the stop button. the indicator over the chat is showing the orange indicator which indicates that claude code is still operating. However it is not operating. I tried using the teleport command, i saw logs of the chat in the terminal that are not in the web ui. However I cannot continue the conversation in the cli at all. No matter what I do, the web interface is behaving as if claude is responding when it is not. There is no way to restart the container or instance on the cloud. I dont know if this is utilizing some token usage or if the container doesnt know how to deal with the claude code instance failing but there is no timeout that stops this. This has been going on for over an hour. I have no way of reproducing a failure like this
What Should Happen?
There needs to be some way for us to either restart the container manually or for there to be some internal handling of this for fault tolerance
Error Messages/Logs
`Claude Code execution failed...`
Steps to Reproduce
Try utilizing multiple tasks in parallel. I don't think tasks cause the issue specifically because in my last output from the teleport command i was seeing Bash and Bash output commands so it seemed like the task completed although in the web ui i am missing all the responses from claude after trying to execute a task
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.25
Platform
Other
Operating System
Other
Terminal/Shell
Other
Additional Information
It says that my ide version is 2.0.27 but the server version is 2.0.25
This issue has 13 comments on GitHub. Read the full discussion on GitHub ↗