mirror of
https://github.com/morluto/rea
synced 2026-10-28 06:46:47 -04:00
aa7d960ef5
* fix(process): settle owned cleanup with the launcher's own exit proof When owned process-group verification fails while the supervised launcher is still mid-exit, the supervisor now waits up to the kill grace for its own child-exit observation and verifies once more after it arrives. Verification is not repeated when the exit was already observed before cleanup started, so there is no new evidence and the original failure is kept. Nothing is signaled based on the wait. Fixes #6134 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(process): bound Hopper session cleanup attempts by exit evidence The fake Hopper launcher exits after its shutdown acknowledgement. When the supervisor first observes that exit during a failed verification, it verifies once more, so the first close makes one or two attempts depending on timing. The test now asserts that bound. Later session retries, made after the exit was already observed, make exactly one attempt each. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>