mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-14 23:22:51 +00:00
Linux's kill(-pgid, 0) succeeds even when every group member is a zombie waiting to be reaped; macOS returns ESRCH in the same situation. Callers polling on process_group_alive (fabro-server's SIGTERM grace loop, plus the zombie-only regression test in fabro-proc) therefore saw divergent behavior: CI on Linux had been failing for days on the asserting test. After the cheap kill(2) probe, walk /proc and confirm at least one non-zombie process still reports the given pgid. Non-Linux unix targets keep the fast path. Falls back to "alive" on /proc read failure. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||