Background explore agents take 140+ seconds and return after agent has already found answers
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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_
Guia de contribuição
Direção de pesquisa
Reproduza o atraso seguindo as etapas listadas em uma base de código grande, comparando a conclusão do background-agent com a investigação direta usando grep/view. Rastreie os pontos de entrada do agendamento e do cancelamento do background-agent e, em seguida, defina e verifique uma política consistente que evite trabalho redundante quando a investigação direta já tiver coberto o mesmo escopo.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100