github / github/copilot-cli

Agent gets stuck when canceling sub-agent tasks

Open
#2,775 0 comments 0 reactions 0 assignees View on GitHub
area:agents
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in GitHub Copilot CLI 1.0.27 by using /fleet for a large parallel task, then pressing Esc to cancel. Trace the cancellation flow for the sub-agent tasks and verify that cancellation completes and the agent accepts new prompts and slash commands afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.