Improve health check endpoints to verify real service connectivity #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Health endpoints in backend-compliance and ai-compliance-sdk return
{"status": "healthy"}unconditionally without checking whether dependencies are actually reachable. Orca marks the deployment healthy even when the database is down.Required Actions
/healthendpoint in backend-compliance to:SELECT 1against the DB; return 503 if it fails/health/live) from readiness (/health/ready):/health/readyAcceptance Criteria
/health/readyreturns 503 when DB is unreachable/health/readyreturns 200{"db": "ok", "qdrant": "degraded"}