fix: use socket connectivity alone instead combining it with PID check for daemon liveness (#879)

This commit is contained in:
Mateusz Burzyński
2026-03-17 11:29:01 -05:00
committed by GitHub
parent 60f3afcf61
commit f8eb38c7f1
2 changed files with 9 additions and 38 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"agent-browser": patch
---
Fix daemon detection for PID namespace isolation (e.g. `unshare`). Use socket connectivity as the sole liveness check instead of `kill(pid, 0)`, which fails when the caller cannot see the daemon's PID.