Background subagent can remain running indefinitely after tool activity stops
Nadie ha tomado este issue todavía.
- 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
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce la revisión del background final-branch en Linux y monitorízala después de que la actividad de la herramienta alcance unas 100 llamadas. Empieza siguiendo el estado del subagent y el comportamiento de espera del parent; la suite completa de regresión de 78 pruebas está disponible para la validación. Se considera terminado cuando se detecta el trabajo atascado, se muestra un resultado accionable y el parent deja de esperar indefinidamente.
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
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100