[Task] Introduce outbox table and dispatcher for production-safe event delivery #5

Closed
opened 2026-07-10 23:37:46 +02:00 by zemion · 1 comment
Owner

Moved from add-ideas/govoplan-core#96: add-ideas/govoplan-core#96
Reason: Production-safe outbox dispatch belongs with audit/event delivery ownership.

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 235
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 5: Extract Audit

Imported item:

Introduce outbox table and dispatcher for production-safe event delivery.
> Moved from `add-ideas/govoplan-core#96`: https://git.add-ideas.de/add-ideas/govoplan-core/issues/96 > Reason: Production-safe outbox dispatch belongs with audit/event delivery ownership. <!-- codex-generic-backlog-fingerprint:5ad455227339d22982b86f3b --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `235` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 5: Extract Audit` Imported item: ```text Introduce outbox table and dispatcher for production-safe event delivery. ```
Author
Owner

Codex State: done

Summary

  • Added audit_outbox_events and SqlAuditOutbox for durable PlatformEvent delivery with retry state.
  • Audit module retirement/uninstall guards now cover both audit_log and audit_outbox_events.

Changed Files

  • src/govoplan_audit/backend/db/models.py
  • src/govoplan_audit/backend/outbox.py
  • src/govoplan_audit/backend/manifest.py
  • docs/AUDIT_TRACE_CONTEXT.md

Verification

  • PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src python -m unittest discover -s tests
## Codex State: done ### Summary - Added audit_outbox_events and SqlAuditOutbox for durable PlatformEvent delivery with retry state. - Audit module retirement/uninstall guards now cover both audit_log and audit_outbox_events. ### Changed Files - `src/govoplan_audit/backend/db/models.py` - `src/govoplan_audit/backend/outbox.py` - `src/govoplan_audit/backend/manifest.py` - `docs/AUDIT_TRACE_CONTEXT.md` ### Verification - `PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src python -m unittest discover -s tests`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-audit#5
No description provided.