wrapper/child exit telemetry conflates SIGTERM-killed vs drained exits; completion notice carries no disposition for detached helpers

Aberta
#5,597 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
42/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
cli, observability

Direção de pesquisa

Start by tracing the attached async shell task lifecycle from wrapper launch through supervisor teardown and the completion notification; the issue names no source files or tests. Check how exit status and captured stdout are currently reported, then find the relevant telemetry tests. Done means the completion signal distinguishes signaled from normal exits, reports surviving descendants, and indicates whether stdout is available.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

area:tools

Build: 1.0.115.

Repro:

  1. Start an attached async shell task whose child spawns a long-lived grandchild (e.g. a polling waiter).
  2. Kill the wrapper (session teardown / supervisor reap).

Actual: the agent is notified "command completed with exit code 143" while the grandchild may still run (observed: live waiter with zero polls recorded under that sess), and conversely exit-3-style "duplicate guard" early-exits are indistinguishable from real termination without reading stdout. The disposition (drained vs killed vs detached-survived) is not part of the completion signal.

Expected: completion telemetry should include: signaled-vs-exited, whether descendants survived, and stdout-available flag. Adjacent prior: #4144 (terminal reasons hidden for startup/turn failures).

Linguagem predominante
Python
Estrelas
11.5k
Forks
2k
Merge médio
6h 34min
PRs com merge (30d)
3

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/copilot-cli

Todas as issues de github/copilot-cli

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.