Use this when workflow steps should retry automatically with a delay and limit.
Retry · Workflow Automation
Retry in workflows reruns a failed step automatically with delay and a limit, configured per step so transient failures do not fail the whole workflow.
1. Retry failed steps that are transient.
2. Backoff and limits.
3. Idempotent steps.
4. Don't retry business errors.
5. Monitor retry rates.
step failure → retry → success or fail
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as branch condition drift, hidden dependency, duplicate parallel mutation, approval bypass, retry storm, partial rollback and successful orchestration with failed consumer state, choosing the cases most relevant to failure classification, maximum attempts, backoff/jitter, idempotency/deduplication and stopping retries for permanent or ambiguous failures.
Step 2 Common mistakes Narrow the fault
- Retrying the whole workflow instead of the failed step.
- Retrying non-idempotent steps.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Retries are configured per step.
- Use delay and a limit.
- Retry only safe steps.
- Retry policy per step — configuration
- Backoff and max attempts — limits
- Retry metrics — frequency
ReferenceWhy it matters1 section · depth on demand
What it is
Retry re-runs a failed step a limited number of times with a delay, for transient failures only.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Retry at workflow level re-runs a failed step automatically. Workflow engines usually let each step define how many attempts it gets, how long to wait between them and which errors are retryable, so transient failures in one integration do not fail the entire workflow.
| Setting | Typical value |
|---|---|
| Max attempts | 3–5 |
| Backoff | Exponential, capped (e.g. 10 s → 5 min) |
| Retry on | Timeouts, 429/5xx, connection errors |
| Do not retry | 4xx validation, auth errors |
# Argo Workflows
retryStrategy:
limit: 3
retryPolicy: OnError
backoff: { duration: "10s", factor: 2, maxDuration: "5m" }
Retries only make sense for idempotent steps. For a step that creates resources, ensure a retry finds the resource from the failed attempt instead of creating a duplicate.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Workflow Automation > Retry. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For failure classification, maximum attempts, backoff/jitter, idempotency/deduplication and stopping retries for permanent or ambiguous failures, prefer typed fields and stable IDs over human presentation text.