feat(health): expose app version in GET /health (#717) (#719)
All checks were successful
Deploy / changes (push) Successful in 5s
Deploy / build-frontend (push) Has been skipped
Deploy / build-backend (push) Successful in 1m25s
Deploy / build-worker (push) Successful in 2m46s
Deploy / deploy (push) Successful in 1m5s

Co-authored-by: bot-backend <bot-backend@gendsgn.local>
Co-committed-by: bot-backend <bot-backend@gendsgn.local>
This commit is contained in:
bot-backend 2026-05-30 12:15:06 +00:00 committed by bot-reviewer
parent 0e2bba78b7
commit 406ea8365a

View file

@ -172,4 +172,8 @@ app.include_router(ping.router, prefix="/api/v1", tags=["ping"])
@app.get("/health")
async def health() -> dict[str, str]:
return {"status": "ok", "environment": settings.environment}
return {
"status": "ok",
"environment": settings.environment,
"version": app.version,
}