Background explore agents take 140+ seconds and return after agent has already found answers
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### 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_
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100