What
/healthz already returns status, uptimeSeconds, and version. Make the version reliably reflect the build/release, and consider adding a small, safe detail (e.g. git short SHA) — without leaking anything sensitive.
Where
apps/api/src/modules/health/controllers/health.controller.ts.
How to verify
curl localhost:3001/healthz returns the version; update/extend the health contract test.
Notes
Keep /readyz untouched — that one is for readiness, not info.
What
/healthzalready returnsstatus,uptimeSeconds, andversion. Make the version reliably reflect the build/release, and consider adding a small, safe detail (e.g. git short SHA) — without leaking anything sensitive.Where
apps/api/src/modules/health/controllers/health.controller.ts.How to verify
curl localhost:3001/healthzreturns the version; update/extend the health contract test.Notes
Keep
/readyzuntouched — that one is for readiness, not info.