- Gather credentials and a staging bot/app solely for idempotency middleware.
- Implement the minimal change so that: Short-circuit duplicate event ids.
- Add a fail-closed unit or fixture test that locks the behavior of idempotency middleware.
- Run the flow end-to-end in staging; capture logs for the success and error paths.
- Write operator notes (env vars, rollback) for idempotency middleware in the README.
Tutorial
Webhook idempotency middleware
Short-circuit duplicate event ids.