From 50ed0f45afcf692d1f0df17956d1d06a0656a0ce Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 21 May 2026 12:25:04 +0200 Subject: [PATCH] =?UTF-8?q?fix(replay):=20P80=20=E2=80=94=20DocCheckResult?= =?UTF-8?q?-Import=20entfernt=20(gibt=20es=20nicht=20in=20runner)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vorher hatte ich den Container hotfixed aber den Fix nicht committed. Beim naechsten Rebuild kam der Bug aus dem Image zurueck. Co-Authored-By: Claude Opus 4.7 (1M context) --- backend-compliance/compliance/services/check_replay.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend-compliance/compliance/services/check_replay.py b/backend-compliance/compliance/services/check_replay.py index 8aa6e73c..e110370d 100644 --- a/backend-compliance/compliance/services/check_replay.py +++ b/backend-compliance/compliance/services/check_replay.py @@ -65,8 +65,6 @@ def replay_from_snapshot( doc_texts[dt] = txt # Build results list mock (just enough for mail-render) - from compliance.services.doc_checks.runner import DocCheckResult - def _dict_to_result(d: dict) -> Any: """Best-effort reconstruction. Snapshot didn't persist DocCheckResult so we fake minimal fields. For real MC-replay (v2) we'd re-run the @@ -132,7 +130,7 @@ def replay_from_snapshot( if recipient and not dry_run: try: - from compliance.services.email_sender import send_email + from compliance.services.smtp_sender import send_email email_res = send_email( recipient=recipient, subject=f"[REPLAY] {site_label} (Snapshot {snapshot_id[:8]})",