Skip to content

Agent gets stuck when canceling sub-agent tasks #2775

@Omotola

Description

@Omotola

Describe the bug

Agent is unable to cancel tasks being run on subagents. It gets stuck in a canceling state and doesn't accepts any new prompts or slash (/ ) commands

Affected version

GitHub Copilot CLI 1.0.27

Steps to reproduce the behavior

  1. Use /fleet to run a large task in parallel
  2. Press Esc to cancel

Expected behavior

Agent cancels all subagent tasks successfully

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agents

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions