Skip to content

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

Backlog

Description

@netwarm007

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

Activity

  1. added
    area:tools
    and removed on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tools

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions