feat(governance): unify durable event retention

This commit is contained in:
jxxghp
2026-08-26 12:45:44 +08:00
parent f5dacf79c3
commit 362f606751
29 changed files with 948 additions and 121 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ from typing import Any, Protocol
from app.application.outbox import (
OUTBOX_LEASE_SECONDS,
OutboxIntent,
SUBSCRIBE_COMPLETED_TOPIC,
SyncOutboxTransaction,
SyncUnitOfWork,
)
@@ -77,7 +78,7 @@ class CompleteSubscriptionCommand:
self._outbox.stage(
OutboxIntent(
event_key=event_key,
topic="subscribe.complete",
topic=SUBSCRIBE_COMPLETED_TOPIC,
payload=event_payload,
),
now,