Verified against a real Kuma by stopping it mid-test: - get_monitors() reads the library's CACHED monitorList event, so it reported 'up' long after Kuma died. Reachability now does a real HTTP round-trip plus a live socket check. - the cached list could yield an id for a monitor that no longer exists; a match is now confirmed with a live get_monitor before it is returned, so CluPilot can never record a target that is never checked. - liveness (/health, always 200 while serving) split from readiness (/ready, 503 when Kuma is unreachable) — the container healthcheck must not restart a healthy bridge just because a dependency is down. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| handoffs | ||
| specs | ||
| superpowers | ||
| monitoring-uptime-kuma.md | ||