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

Đang mở
#5,597 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
cli, observability

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
11.5k
Fork
2k
Merge trung bình
6 giờ 34 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/copilot-cli

Tất cả issue của github/copilot-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.