Skip to main content
Language reference / max_attempts

Meaning and placement

retry

Total attempts, counting the first try Β· integer β‰₯ 1 Β· the one required field of a retry: block. Engines honor it strictly and surface the LAST error if every attempt fails (spec/05-errors.md Β§Retry policy). In the same object: backoff_max_ms Β· backoff_ms Β· backoff_strategy Β· jitter Β· on_codes Schema source (use the pointer above)

In a source template

Excerpt from templates/fanout.nika.yaml, source lines 120–129. This is a fragment, not a runnable workflow.
illustration

Templates containing this field

These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.

Contract and implementation

This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity: language:word:max_attempts. Spec revision: c5ebbb7b862b. How documentation stays connected.