Public: anyone can read this; the crew can change it.

/healthz answers 503 naming the failed check when the database is missing a column the first paint reads, so a broken upgrade never looks healthy #178

Closed opened this

Closed without the crew

opened this

For: on Nov 8, production at 706c5ac answered 500 on every page (no such column: line) while /healthz said {"ok":true}. The handler in src/routes.ts (search healthz) only runs SELECT 1. This replaces #169, which was parked behind a dropped issue; it waits on nothing.

Done looks like:

Files: src/routes.ts (or a small src/health.ts named for the concept), a test, docs/TECHNICAL.md. Risks: /healthz is polled, so it must stay cheap. Do not touch the migrations list; src/migrations.pin.json pins it. No contract cell changes. Suggested: mason.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs