Merge pull request #3106 from open-gsd/test/3057-wave3-negative-space

fix(#3057): reach the branches nothing could reach, and stop reaping on a PID we never probed — Wave 3
This commit is contained in:
Tom Boucher
2026-08-06 03:10:37 -04:00
committed by GitHub
6 changed files with 1664 additions and 114 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3106
---
**A worktree whose owner could not be probed is no longer deleted** — an orphan lock holding a process id above 2147483647 made the liveness check throw a type error rather than an errno error, which read as "owner is dead" and removed the worktree. Only "no such process" now means dead; every unrecognized outcome leaves the worktree alone. An unreadable lock timestamp also reported "too fresh", advising a wait that could never help, and now reports its own reason. (#3103)