Add /healthz endpoint for container healthcheck #26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the platform-contract intake (#25).
The Archon platform contract requires every long-running container to declare a Docker
HEALTHCHECK. cAdvisor exportscontainer_health_statusto Prometheus; absent health checks show as "none" and cannot drive the container-down alert planned for launch (5.4 in #25).Scope
GET /healthzto the FastAPI app.200on success,503when the check fails.SELECT 1via the SQLAlchemy session is enough; the SQLite file is the only data store.HEALTHCHECK(running inside the container) and any infra probes can hit it.Out of scope
/readyz//livezsplit. One endpoint is enough for a single-container app with no warm-up phase./metrics) — not on the launch list (5.2 in #25).Deliverables
HEALTHCHECKdirective in the eventualDockerfile/ Compose service once the deploy scaffolding lands.Tracks work that blocks first deploy per #25.