From 1acef9669a1cd28efae55ac697238a94bc253849 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 28 Aug 2026 00:03:03 +0200 Subject: [PATCH] =?UTF-8?q?docs(progress):=20Suite-Isolation=20behoben=20(?= =?UTF-8?q?#357)=20=E2=80=94=20close=5Fengine=20nullt=20globale=20Engines,?= =?UTF-8?q?=20Engine-Restore=20nach=20Teardown,=20ACL-Batch=20130=20passed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROGRESS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/PROGRESS.md b/PROGRESS.md index c5c1147..ddbd9af 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -12,6 +12,16 @@ **Gates:** ruff exit=0 · tsc --noEmit exit=0 · pytest 11 passed · Vitest 2 passed +## Suite-Isolation (2026-08-28) ✅ + +**Mechanismus (Live-Messung):** `close_engine()` in der rbac `mail_app`-Fixture disposiert UND setzt alle globalen Engines auf None — 12 ACL-Batch-Failures (`relation "users" does not exist`) in Nachfolger-Suiten. + +**Fix (b691dd3):** `reset_engine_for_testing(engine)` nach `close_engine()` im Teardown — conftest-Engine wird als globale Engine wiederhergestellt (Produktions-Bootstrap-Spiegelung). + +**Verifikation:** ACL-Batch vorher 12 failed/118 passed → nachher **130 passed** (alle 12 behoben). + +**Nur tests/ geändert — kein Production-Deploy nötig.** + ## W4a — Import/Export Contribution-Architektur (2026-08-27, SPECS final) **Spec:** [#359](https://forgejo.media-on.de/Leopoldadmin/leocrm/issues/359) (user-abgestimmt)