8000 Stuck (for several minutes) while executing a task and unable to cancel it · Issue #2634 · RooVetGit/Roo-Code · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Stuck (for several minutes) while executing a task and unable to cancel it #2634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aiqinxuancai opened this issue Apr 15, 2025 · 1 comment
Labels
bug Something isn't working needs scoping Needs up-front scoping to be actionable

Comments

@aiqinxuancai
Copy link
aiqinxuancai commented Apr 15, 2025

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.

Image

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

@aiqinxuancai aiqinxuancai added the bug Something isn't working label Apr 15, 2025
Copy link
dosubot bot commented Apr 15, 2025

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.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@hannesrudolph hannesrudolph moved this from New to Issue [Needs Scoping] in Roo Code Roadmap Apr 15, 2025
@hannesrudolph hannesrudolph added the needs scoping Needs up-front scoping to be actionable label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs scoping Needs up-front scoping to be actionable
Projects
Status: Issue [Needs Scoping]
Development

No branches or pull requests

2 participants
0