Description
The container has no shell by design, so the probe is the service binary. It loads the same config the server does so it always probes the address actually deployed; a hardcoded host:port silently probes the wrong place the moment a deployment overrides it, and a container then restarts forever over a config mismatch.
Acceptance Criteria
- #1 health.listen serves liveness plus a self-observability snapshot
- #2 Returns non-200 while the source has not started or is draining, 200 once ready
- #3 -healthcheck loads the config, probes the configured address and exits 0 or 1
- #4 The snapshot includes ingest lag and unhandled record types so a green check is not mistaken for outcome proof
Definition of Done
- #1 just check passes: fmt-check, lint, build, test-short, probe-ci, dashboard-check and docs-links all clean
Implementation Plan
Wave 1 lane 3: implement self-observability and health surfaces within owned packages; run focused tests; root integrates and runs the final gate.
Final Summary
Health readiness, draining behavior, self-observability snapshot, and configured healthcheck mode are implemented and passed local and Camden checks.