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.

Image

Detailed Steps to Reproduce

  1. Activate subtask auto approval
  2. Give an orchestrator a task to break down
  3. Let that orchestrator delegate a task to a different mode
  4. 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

Most upvoted comments

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:

Image

Thank you for all of your hard work!