mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
7bf6cbe1fa
- treat `EPERM` from `signal(0)` as “process exists” on Unix - classify malformed PID files as invalid and auto-remove them during read - keep cached `pidData` only for transient races and downgrade `running` to `stopped` when the tracked process is gone - refresh PID data on WebSocket proxy requests and reject stale cached gateway state - add regression tests for invalid PID files, status downgrade, on-demand PID loading, and stale proxy rejection