github / github/copilot-cli

UI shows background agents as 'running' after they have completed

Aperta
#3,412 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:agents
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

## Description

The terminal UI displays background agents/tasks as still running (e.g., "10 background tasks running") even after all agents have completed and their results have been successfully retrieved via `read_agent`.

## Steps to Reproduce

1. Launch multiple background agents (e.g., 9 bitsmith agents in parallel)
2. Wait for all agents to complete (receive completion notifications)
3. Retrieve results from each with `read_agent`
4. Observe the UI still shows tasks as "running"

## Expected Behavior

Once an agent completes and its results are read, it should no longer appear as a running task in the UI.

## Actual Behavior

The UI continues to show completed agents as running. `list_agents` correctly returns no running agents, but the UI indicator doesn't update.

## Environment

- Copilot CLI version: 1.0.49
- OS: macOS (Darwin)
- Model: Claude Opus 4.6

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.