Skip to content

5.4 — Add comprehensive health checks #63

@davidortinau

Description

@davidortinau

Description

Implement comprehensive health check endpoints for liveness and readiness probes. Services report their health status to Azure Container Apps, which uses this data for scaling and restart decisions.

Dependencies

Acceptance Criteria

  • /health endpoint returns full health status:
    • Database connectivity (PostgreSQL)
    • Cache connectivity (Redis)
    • Storage connectivity (Blob Storage)
    • Entra ID reachability
    • External API reachability (OpenAI)
  • /alive endpoint returns 200 (liveness probe)
  • Health check format: application/health+json
  • Tested: all health checks return correct status
  • Container Apps health probes configured to call /health and /alive
  • Aspire dashboard visualizes health status

Technical Notes

  • ASP.NET Core health checks middleware already available
  • Health checks return detailed status on dependent services
  • Liveness vs readiness: alive = process running, health = ready to serve
  • Configure probes in Container Apps settings

Phase: 5 | Size: M | Owner: Kaylee (Full-stack Dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase:5-hardeningPhase 5: Production Hardeningsize:MMedium task (3-5 days)squadSquad triage inbox — Lead will assign to a membersquad:kayleeAssigned to Kaylee (UI Dev)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions