Files
orca/src
Brennan Benson 753a104d27 test(daemon): gate the claim reap on the errno Windows actually reports
The Windows lane now runs daemon-pid-publish-claim-reap.test.ts, but its only
foreign-owner gate injected EPERM — the POSIX errno. Windows reports a live
but unsignalable process as EACCES (isPermissionError in win32-utils treats
EACCES and EPERM as one), so the errno that lane can actually see had no gate.

The fence is already correct there: it reaps only on ESRCH, so every other
errno reads as alive. No production change — this pins that for EACCES too,
so a later broadening to "any kill() error means dead" cannot land unnoticed
and delete a live publisher's claim on Windows.
2026-08-28 08:10:26 -07:00
..