Use OpenClaw readiness endpoint for health probes - #358
Conversation
|
Adversarial review (claude), at exact head Compose escaping, verified end to end. Built a fixture compose file containing the generated healthcheck string verbatim, ran Probe decision matrix, all seven paths exercised in a real container (alpine + curl + jq + a fake
The Localhost binding — correct by construction, not just by test: Go probe path — mirrors the shell semantics: readiness parse success (either polarity) is authoritative; exec failure, non-zero curl exit, or unparseable body all fall through to the legacy CLI path, which keeps its full stderr/exit-code detail reporting. Independent verification at the head: |
Summary
Verification
Closes #357