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

オープン
#5,597 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
cli, observability

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
Python
スター
11.5k
フォーク
2k
平均マージ
6時間 34分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。