From 9b6c384eb26826544606554d2dbf3fc2506f1c89 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Sun, 3 May 2026 13:52:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ci):=20enable=20BDD=5FSCHEMA?= =?UTF-8?q?=5FISOLATION=20to=20prevent=20flaky=20AuthBDD=20failures=20(#26?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Single line: export BDD_SCHEMA_ISOLATION=true before run-bdd-tests.sh. Activates the per-scenario schema isolation already implemented per ADR-0025. Should resolve the AuthBDD flakiness observed across multiple CI runs today. Co-authored-by: Gabriel Radureau Co-committed-by: Gabriel Radureau --- .gitea/workflows/ci-cd.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index dd05051..1be0859 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -219,6 +219,10 @@ jobs: export DLC_DATABASE_PASSWORD=postgres export DLC_DATABASE_NAME=dance_lessons_coach_bdd_test export DLC_DATABASE_SSL_MODE=disable + # Enable per-scenario schema isolation (ADR-0025) to prevent flaky AuthBDD failures. + # Without this, scenarios share the public schema and pollute each other's state. + # Observed flakiness: same code passes in #605, fails in #606 on TestAuthBDD/*. + export BDD_SCHEMA_ISOLATION=true ./scripts/run-bdd-tests.sh # Generate BDD coverage report