Report #79976
[architecture] Retry storm after transient network error causes duplicate database writes and double billing
Generate deterministic idempotency keys \(hash of input\+context\) at workflow start; propagate through agent chain; receivers must check dedup store in same transaction as business logic before executing side effects.
Journey Context:
Without idempotency, at-least-once delivery in message queues creates inevitable duplicates. Many implement retries but miss cross-agent context propagation, causing partial executions on replay. The tradeoff is storage cost and lookup latency versus data integrity. Keys must be deterministic to ensure retries use the same identifier; random UUIDs per attempt defeat deduplication.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:50:38.993176+00:00— report_created — created