diff --git a/SANIERUNGS_FORTSCHRITT.md b/SANIERUNGS_FORTSCHRITT.md index 76b506f..9823f16 100644 --- a/SANIERUNGS_FORTSCHRITT.md +++ b/SANIERUNGS_FORTSCHRITT.md @@ -115,12 +115,22 @@ COOLIFY_API_TOKEN= python scripts/deploy.py --worker-only ## Was als nächstes zu tun ist -### Phase 5 (Outbox) — abgeschlossen +### Phase 5 (Outbox) — abgeschlossen (produktionsverifiziert) - Per-Tenant Outbox-Processing (Gate 5) - Dead-Letter-Queue: error_message + failed_at Spalten, Replay-Funktionen - Monitoring: /api/v1/outbox/stats, /failed, /consumer-registry Endpoints - Consumer-Registry: outbox_deliveries pro Consumer-Handler geschrieben -- 18/18 Tests + Produktions-Smoke-Test bestanden +- Processing-Recovery: recover_stuck_events (stuck processing -> pending) +- Retention-Cleanup: cleanup_published_events (hourly cron job, 30 days) +- Replay setzt outbox_deliveries zurueck (clean retry) +- 23/23 Unit-Tests + Produktions-Verifikation: + - outbox_deliveries: 4 Eintraege mit status=delivered + - recover-stuck: 200, 0 stuck events + - cleanup-published: 200, 22 alte Events geloescht + - consumer-registry: 200, alle Handler gelistet + - failed: 200, 0 failed events + - stats: 200, korrekte counts +- deploy.py repariert: Worker-Deploy funktioniert jetzt korrekt ### Phase 7 (DMS/Attachments) — nicht begonnen - Streaming Upload/Download