docs(progress): Webhook-JSONB-Fix dokumentiert — 158 Events live repariert (#380)

This commit is contained in:
Agent Zero
2026-09-14 08:02:58 +02:00
parent 50d6733df6
commit 9076983c0c
+7 -1
View File
@@ -107,7 +107,13 @@ Phase P Notizen-App oder UI-Backlog-Module 2-16.
**Wichtig:** AGENTS.md-Regeln zuerst lesen (§0.0 Sub-Agents nur für einfache Jobs, §0.2 auf bestehendem Code aufbauen, §10 'PROGRESS.md als Source of Truth').
> **Letztes Update:** 2026-09-13
> **Letztes Update:** 2026-09-14
## Produktions-Bugfixes (2026-09-14)
| Bug | Issue | Fix | Verifikation (Live-Messung 2026-09-14) |
|---|---|---|---|
| Jeder Outbox-Event-Publish crashte im Webhook-Dispatcher mit `Neither 'AnnotatedColumn' nor 'Comparator' object has an attribute 'any'` → 158 failed Events (`file.deleted`, 2026-08-27) | [#380](https://forgejo.media-on.de/Leopoldadmin/leocrm/issues/380) | `Webhook.events` ist JSONB-Column (KEINE Relationship): `.any()` an 2 Stellen (webhook_dispatcher.py, webhook_service.py) ersetzt durch `cast(events, JSONB).contains([event])` (Commit 50d6733) | pytest test_webhooks.py 6/6 (SQL: `CAST(webhooks.events AS JSONB) @> ...`); Full Deploy Health 200; Live: `replay-all` → 158 replayed, danach stats `{published:158, failed:0}` (vorher `{failed:158}`) |
## Produktions-Bugfixes (2026-08-27)