Failed query: select "id" from "change_set" where "change_set"."status" = $1
params: open — canceling statement due to statement timeout
The app could not read its database. Check /api/health for structured diagnostics. The usual causes, in order:
- DATABASE_URL not set on this deployment — set it to the Supabase :6543 pooled URL (Vercel env var / Workers secret).
- Migrations not run ("relation … does not exist") — from your machine: DIRECT_URL=<supabase :5432 url> npm run db:migrate
- Not seeded — then DATABASE_URL=<pooled url> npm run db:seed && npm run import:program
docs/ops/deployment.md has the full runbook.