Skip to content

Fix watchdog health checks under Tailscale Serve#33

Merged
chrysb merged 2 commits intomainfrom
codex/issue-21-watchdog-health
Mar 22, 2026
Merged

Fix watchdog health checks under Tailscale Serve#33
chrysb merged 2 commits intomainfrom
codex/issue-21-watchdog-health

Conversation

@chrysb
Copy link
Owner

@chrysb chrysb commented Mar 22, 2026

Summary

  • switch watchdog health checks from the WS-backed openclaw health --json CLI path to the local HTTP /health endpoint
  • add short timeouts to WS-backed node/device CLI reads so hung subprocesses do not pile up under gateway.tailscale.mode=serve
  • stop repeated auto-repair and notification loops while a prior repair is still awaiting recovery

Testing

  • npm test -- tests/server/watchdog.test.js tests/server/routes-nodes.test.js tests/server/routes-pairings.test.js

Closes #21

@chrysb chrysb merged commit 943f4b2 into main Mar 22, 2026
1 check passed
@chrysb chrysb deleted the codex/issue-21-watchdog-health branch March 22, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Watchdog health check fails when gateway.tailscale.mode=serve (WS CLI broken)

1 participant