Why it matters
Separate liveness from readiness; keep liveness dependency-light.
Practical steps
- Describe the deploy surface for devops healthz contracts (process, env, healthcheck, rollback).
- Implement separate liveness from readiness; keep liveness dependency-light behind a feature flag or canary when risk is high.
- Emit structured logs/metrics that show devops healthz contracts succeeding or failing in staging.
- Automate a smoke test that hits devops healthz contracts after each deploy.
- Write a one-page runbook: start, stop, rollback, and who to page.
Watch out for
- Copy-pasting outdated snippets for devops healthz contracts without re-reading current official docs.
- Shipping devops healthz contracts to production without a staging rehearsal and a documented rollback.