You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vercel target: /healthz initialises stores and fails when the database is unavailable #688
On the vercel target /healthz initialises the per-request stores, so when DATABASE_URL is unset or the database is unreachable the endpoint returns 500 ({"error":{"kind":"execution_error","message":"Unexpected runtime server failure"}}). It behaves as a readiness probe, not a liveness probe; a deployment with a missing env var looks completely down rather than "up, not ready".
Proposal
Make /healthz answer 200 without touching stores, and add /readyz (or ?deep=1) that checks the database and reports the failing dependency by name.
Activity
fix(cli): make /healthz pure liveness and add /readyz dependency read…
fix(cli): make /healthz pure liveness and add /readyz dependency read…
fix(cli): make /healthz pure liveness and add /readyz readiness probe (…