DEMO / WORKFLOW RESCUE
A repair should leave evidence.
Select a fictional failure scenario to inspect the observed problem, root cause, existing behavior, repaired path, and verification steps.
SECPRIVA
Diagnostic simulator
FICTIONAL DEMONSTRATION / DETERMINISTIC SIMULATOR
SCENARIO 01
Duplicate event on webhook retry
Root cause: Missing idempotency key
OBSERVED PROBLEM
A timed-out webhook is retried and the destination creates the same record twice.
ROOT CAUSE
Missing idempotency key
EXISTING BEHAVIOR
Every delivery is treated as new. A retry creates a second record.
REPAIRED PATH
Derive an idempotency key from the source event, record it, and safely ignore a completed retry.
VERIFICATION STEPS
- Replay the original event.
- Replay the same event after a timeout.
- Confirm one destination record and one notification.
NEXT STEP