github / github/copilot-cli

Background subagent can remain running indefinitely after tool activity stops

Offen
#4,850 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

triage
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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
  1. Start a background general-purpose subagent for a final branch review.
  2. Allow it to perform tool calls.
  3. Observe the agent reach approximately 100 completed tool calls.
  4. Continue checking its status after several minutes.
  5. 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere die Hintergrundüberprüfung des finalen Branches unter Linux und überwache sie, nachdem die Tool-Aktivität etwa 100 Aufrufe erreicht hat. Beginne damit, den Status des Subagents und das Warteverhalten des Parents nachzuverfolgen; die vollständige Regressionstestsuite mit 78 Tests steht zur Validierung zur Verfügung. Als erledigt gilt die Aufgabe, wenn festgefahrene Arbeit erkannt, ein umsetzbares Ergebnis sichtbar gemacht wird und der Parent nicht länger unbegrenzt wartet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.