Roo-Code: Auto Approved Sub Tasks Hang
App Version
v3.15.1
API Provider
OpenRouter
Model Used
All Models
Actual vs. Expected Behavior
When the AI is allowed to auto complete sub tasks the workflow hangs at user approval (that is unneeded).
Orchestrators are able to auto submit sub tasks without issue, it is the subtask return that is having problems.
When auto complete sub task is not active, the workflow ends and you can click a button to head back to the orchestrator. While it is hung the only thing you can do is terminate the task by exiting out which tells the orchestrator that the task failed.
Detailed Steps to Reproduce
- Activate subtask auto approval
- Give an orchestrator a task to break down
- Let that orchestrator delegate a task to a different mode
- Wait for that mode to complete which will hang the workflow
Relevant API Request Output
Additional Context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 15
Commits related to this issue
- add npm protos to tests.json for dev build (#3107) — committed to SmartManoj/Raa-Code by celestial-vault 2 years ago
Thanks, I think this could be related to subtasks trying to run commands as part of completion. @cte and I are taking a look. Thank you all for the help.
That does seem to be the problem for me. The task shows as completed in this screenshot, then coverage tests run and it hangs:
Thank you for all of your hard work!