4 months ago
31d5f45gate-degraded (and every db-backed scenario) dumped a raw drizzle "Failed query" when Postgres was down. Add a `select 1` preflight after createDb: an unreachable DB now reports "can't reach the database — is Postgres up? … bun run db:up" (clig.dev: fail with a useful message), the pool still closes in finally. A repo that's simply not synced keeps its existing clean message.
Parent7ffc692