Stuck (for several minutes) while executing a task and unable to cancel it · Issue #2634 · RooVetGit/Roo-Code · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It gets stuck (for several minutes) while performing a task, I click cancel but can't seem to stop it and can't click any buttons such as settings, the only way I can continue to use Roo-Code is to turn off VSCode and turn it back on.
I haven't been using Roo-Code for very long, but this issue has come up more than 2 times.
In the screen above the picture, I have clicked on the cancel button, the button turns gray, but it won't stop, and I can't click on the setup button above either before or after I click on cancel has been unable to perform any action.
Detailed Steps to Reproduce
1.Windows 11 + VS Code 1.99.2
2.Start Task.
3.Stuck on a particular request.(random event)
Relevant API Request Output
Additional Context
No response
The text was updated successfully, but these errors were encountered:
There is a known issue with task cancellation in Roo Code, specifically when using the cancelTask() method in ClineProvider.ts. This issue involves subtasks not reporting back to parent tasks after cancellation, causing the parent task to remain in a paused state indefinitely. The problem does not occur when using the 'Clear Task' button, which properly handles subtask completion [1].
Additionally, Roo Code implements timeout mechanisms for tasks that get stuck, with a default timeout of 60 seconds extracted from server configuration. Error handling is managed by checking the isError flag and using a consecutive mistake counter [2].
For your issue, you might want to check if the 'Clear Task' button can be used as a workaround to properly cancel the task. If the problem persists, consider reporting it as a bug in the repository, as it might be related to the known issue with task cancellation.
App Version
3.11.17
API Provider
Google Gemini
Model Used
gemini-2.5-pro
Actual vs. Expected Behavior
It gets stuck (for several minutes) while performing a task, I click cancel but can't seem to stop it and can't click any buttons such as settings, the only way I can continue to use Roo-Code is to turn off VSCode and turn it back on.
I haven't been using Roo-Code for very long, but this issue has come up more than 2 times.
In the screen above the picture, I have clicked on the cancel button, the button turns gray, but it won't stop, and I can't click on the setup button above either before or after I click on cancel has been unable to perform any action.
Detailed Steps to Reproduce
1.Windows 11 + VS Code 1.99.2
2.Start Task.
3.Stuck on a particular request.(random event)
Relevant API Request Output
Additional Context
No response
The text was updated successfully, but these errors were encountered: