🐛 fix(ci): enable BDD_SCHEMA_ISOLATION to prevent flaky AuthBDD failures #26

Merged
arcodange merged 1 commits from fix/ci-bdd-schema-isolation into main 2026-05-03 13:52:05 +02:00

1 Commits

Author SHA1 Message Date
2c96a78977 🐛 fix(ci): enable BDD_SCHEMA_ISOLATION to prevent flaky AuthBDD failures
ADR-0025 introduces per-scenario schema isolation via the BDD_SCHEMA_ISOLATION env
var. CI was running without this flag, causing scenarios to share the public
schema and pollute each other's state.

Observed flakiness: identical code passes in workflow run #605 and fails in #606
on TestAuthBDD/User_completes_password_reset, JWT_token_validation, etc.

Per ADR-0025 audit (PR #24): schema-per-scenario infrastructure is fully
implemented but disabled by default (opt-in). Enabling it in CI should resolve
the flakiness without code changes.

Diagnosed during the autonomous trainer day (2026-05-03) after observing #605
PASS / #606 FAIL on the same SHA.

🤖 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 13:51:48 +02:00