crontap-retries-and-idempotency
Installation
SKILL.md
Retries and idempotency
Retries improve delivery only when the endpoint can safely receive the same logical job more than once. Make the receiver idempotent before broadening a retry policy.
Prerequisites
- Identify the schedule and each side effect it can create.
- Decide which failures are transient for this endpoint.
- Choose a stable deduplication key and retention window.
Workflow
- Inspect recent history to classify failures.
- Add endpoint idempotency and test duplicate requests.
- Update only the schedule's retry policy.
- Verify a controlled transient failure and its eventual success.
- Recheck history for attempt count, delay, and final outcome.