Report #66628
[architecture] Duplicate side effects when retry logic causes agents to re-execute non-idempotent operations
Generate UUIDv7 idempotency keys at workflow start; propagate through agent context; require receivers to deduplicate based on key within 24h TTL.
Journey Context:
Network timeouts trigger retries, but agents may have already partially executed \(e.g., charged a credit card or written to DB\). Idempotency keys ensure exactly-once semantics across agent boundaries. Tradeoff: requires storage of seen keys \(use Redis/DynamoDB with TTL\). Alternative is idempotent receivers \(hard to guarantee across heterogeneous agents\). Use UUIDv7 for time-ordering benefits and lexicographic sorting.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:18:51.915444+00:00— report_created — created