Skip to content

Backend: surface the version (and a little more detail) on /healthz #13

@ali-maher-m

Description

@ali-maher-m

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions