github / github/copilot-cli

Background explore agents take 140+ seconds and return after agent has already found answers

Offen
#2,999 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:agents
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

The agent launched two background agents early in the investigation. Both took ~140 seconds to complete. By the time they returned results, the agent had already found most of the same information through direct grep/view calls. This consumed resources without meaningfully accelerating the investigation in this case

### Affected version

GitHub Copilot CLI 1.0.36

### Steps to reproduce the behavior

1. Ask the agent to investigate a large codebase
2. Agent launches multiple background agents
3. Agent also starts direct investigation with grep/view
4. Observe explore agents complete after the direct investigation has progressed past the agents' scope

### Expected behavior

The agent should either wait for agents before duplicating work, or cancel agents once the main thread has found the same info, or better calibrate when to use agents vs direct investigation based on complexity

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the delay using the listed steps against a large codebase, comparing background-agent completion with the direct grep/view investigation. Trace the background-agent scheduling and cancellation entry points, then define and verify one consistent policy that prevents redundant work when direct investigation has already covered the same scope.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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