Add GET /health endpoint returning 200 JSON for deployment readiness #664

Open
opened 2026-04-11 10:09:27 -04:00 by pook · 0 comments
Owner

Add a GET /health endpoint (before auth middleware) that returns 200 with JSON { status: 'ok', timestamp: new Date().toISOString() }. This is required for container orchestration readiness probes — production deployment will fail health checks without it. Register it in src/app.ts or the routes file, placed before any auth middleware so it's accessible without credentials. Acceptance criteria: curl /health returns 200 with valid JSON, no auth required, does not appear in request logs (skip logging for health checks).


Generated by CEO Planner (priority: 3)

Add a GET /health endpoint (before auth middleware) that returns 200 with JSON { status: 'ok', timestamp: new Date().toISOString() }. This is required for container orchestration readiness probes — production deployment will fail health checks without it. Register it in src/app.ts or the routes file, placed before any auth middleware so it's accessible without credentials. Acceptance criteria: curl /health returns 200 with valid JSON, no auth required, does not appear in request logs (skip logging for health checks). --- *Generated by CEO Planner (priority: 3)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#664
No description provided.