feat(gateway): add channel-backed readiness probes (#38285)

* Changelog: add channel-backed readiness probe entry

* Gateway: add channel-backed readiness probes

* Docs: describe readiness probe behavior

* Gateway: add readiness probe regression tests

* Changelog: dedupe gateway probe entries

* Docs: fix readiness startup grace description

* Changelog: remove stale readiness entry

* Gateway: cover readiness hardening

* Gateway: harden readiness probes
This commit is contained in:
Vincent Koc
2026-03-06 15:15:23 -05:00
committed by GitHub
parent b17baca871
commit ab5fcfcc01
13 changed files with 558 additions and 20 deletions

View File

@@ -476,6 +476,10 @@ curl -fsS http://127.0.0.1:18789/readyz
Aliases: `/health` and `/ready`.
`/healthz` is a shallow liveness probe for "the gateway process is up".
`/readyz` stays ready during startup grace, then becomes `503` only if required
managed channels are still disconnected after grace or disconnect later.
The Docker image includes a built-in `HEALTHCHECK` that pings `/healthz` in the
background. In plain terms: Docker keeps checking if OpenClaw is still
responsive. If checks keep failing, Docker marks the container as `unhealthy`,