Problem
CI workflows do not run database migrations or provide a database service before running backend integration/e2e tests. This leads to failing tests or false negatives in CI.
Evidence
- Repo contains Rust/TypeScript backend and database-related SQL/PLpgSQL files; no CI workflow for migrations detected.
How to reproduce
- Run backend test pipeline in a fresh environment without DB migrations — tests fail or are skipped.
Suggested fix
- Add a postgres service to CI workflow and run migrations (e.g., prisma migrate deploy or Diesel migrations) before tests.
- Use a test DB URL injected via environment variables and secret management.
Files to check
- .github/workflows/**
- backend/migrations or prisma/
- ci scripts
Problem
CI workflows do not run database migrations or provide a database service before running backend integration/e2e tests. This leads to failing tests or false negatives in CI.
Evidence
How to reproduce
Suggested fix
Files to check