Skip to content

[BUG] Cancel on subtask immediately triggers retry #8504

@pwilkin

Description

@pwilkin

Problem (one or two sentences)

Cancelling on subtask doesn't work because it's immediately restarted.

Context (who is affected and when)

When trying cancel a running task which is a subtask of another task.

Reproduction steps

  1. Start a task in Orchestrator mode.
  2. Wait for it to start a subtask.
  3. Try to cancel subtask.

Expected result

Subtask is cancelled and waits for user input.

Actual result

Subtask is cancelled, control returns to the main task, then the subtask is immediately restarted.

Variations tried (optional)

No response

App Version

3.28.15

API Provider (optional)

Chutes AI

Model Used (optional)

GLM-4.6

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions