Background subagent can remain running indefinitely after tool activity stops
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
Describe the bug
A background review subagent remained marked as running long after observable activity stopped. The status stayed at 100 completed tool calls and zero completed turns while elapsed time continued increasing past 15 minutes. The parent session received no result and could not complete the workflow.
Affected version
1.0.83
Steps to reproduce the behavior
- Start a background general-purpose subagent for a final branch review.
- Allow it to perform tool calls.
- Observe the agent reach approximately 100 completed tool calls.
- Continue checking its status after several minutes.
- The agent remains
running, with the tool-call count unchanged and no completed turn or result.
Expected behavior
The runtime should detect stalled subagents, surface the blocked tool or execution state, and either recover, fail with an actionable error, or enforce a bounded timeout. The parent should not wait indefinitely with no progress signal.
Additional context
- Linux
- Copilot CLI 1.0.83
- Observed elapsed time: over 15 minutes
- Status remained: running, 100 tool calls completed, 0 turns completed
- Implementation and the full 78-test regression suite had already completed; the stalled operation was only a final read-only review.
- No private repository content or session logs are attached.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci la revisione del final-branch in background su Linux e monitorala dopo che l’attività dello strumento raggiunge circa 100 chiamate. Inizia tracciando lo stato del subagent e il comportamento di attesa del parent; la suite completa di regressione da 78 test è disponibile per la validazione. Il lavoro è considerato completato quando viene rilevato il lavoro bloccato, viene presentato un risultato attuabile e il parent non attende più indefinitamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 52/100