OPT18 — All Containers Started for Single-Service Tests
TL;DR: A test job starts every Docker service (Postgres, MySQL, Mongo…) when it only needs one or two of them.
Anti-pattern: Starting all Docker services (Postgres, MySQL, MongoDB, etc.) for a test job that only needs one of them.
Detection heuristic:
# Check if docker compose up runs without specifying services
grep -rn 'docker compose up' .github/workflows/
# Compare against which services each test job actually connects toFix: Use docker compose up <service-name> or Docker Compose profiles to start only needed services.
Real-world example (better-auth): Each adapter job starts all database containers but only tests against one.