test: harden backend DB suite harness #241

Merged
owlburtoe merged 1 commit from investigate/234-backend-db-suite into main 2026-05-28 16:16:44 -04:00
Owner

Summary

  • enable fail-fast mode for the backend DB suite wrapper
  • add per-file DB reachability checks when the wrapper enables healthchecks
  • wrap truncateAll reset failures with a clear non-secret cascade-prevention error
  • add focused db-health tests and backend docs

Closes #234.

Validation

  • cd apps/backend && pnpm tsc --noEmit
  • cd apps/backend && pnpm exec vitest run src/test-utils/tests/db-health.test.ts
  • pnpm test:backend:db — 133 files / 1472 tests passed
## Summary - enable fail-fast mode for the backend DB suite wrapper - add per-file DB reachability checks when the wrapper enables healthchecks - wrap truncateAll reset failures with a clear non-secret cascade-prevention error - add focused db-health tests and backend docs Closes #234. ## Validation - cd apps/backend && pnpm tsc --noEmit - cd apps/backend && pnpm exec vitest run src/test-utils/__tests__/db-health.test.ts - pnpm test:backend:db — 133 files / 1472 tests passed
test: harden backend DB suite harness
All checks were successful
Code Scanning / Gitleaks secret scan (pull_request) Successful in 5s
Code Scanning / Semgrep OSS source scan (pull_request) Successful in 31s
Security, Type Check & Runtime / Dependency Audit (pull_request) Successful in 9m34s
Security, Type Check & Runtime / Migration Guardrails (pull_request) Successful in 9m33s
Security, Type Check & Runtime / Type Check (pull_request) Successful in 10m15s
Security, Type Check & Runtime / Backend Runtime Smoke (pull_request) Successful in 10m14s
Release Artifacts / Validate release candidate (pull_request) Successful in 10m49s
Release Artifacts / Build and push Docker release images (pull_request) Has been skipped
E2E Tests / e2e (pull_request) Successful in 14m14s
69a7f8248c
owlburtoe deleted branch investigate/234-backend-db-suite 2026-05-28 16:16:44 -04:00
Sign in to join this conversation.
No description provided.