Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

fix(test): harness fails clearly when the database is unreachable (§11)

4 months ago

31d5f45
Authored
grim7/14/2026, 5:31:56 AM
gate-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

1 file changed
  • scripts/e2e/lib/runner.ts+20−0