stubbsta 6ff7b14a24
Wait for graceful Anvil exit before escalating to KILL
stopAnvil gave Anvil a single 200ms window after TERM before sending
KILL, risking a truncated state dump during regeneration. It also
checked liveness with kill -0, which succeeds for an exited-but-unreaped
zombie child, so the KILL escalation fired even after clean exits.
Poll osproc running() (which reaps the child) for up to 10s instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 11:27:58 +02:00
..
2026-07-09 15:57:16 -03:00