Skip to content

docs: clarify WorkflowStepConfig retry limit semantics#30724

Open
qianzhu18 wants to merge 1 commit into
cloudflare:productionfrom
qianzhu18:docs/workflow-retries-limit
Open

docs: clarify WorkflowStepConfig retry limit semantics#30724
qianzhu18 wants to merge 1 commit into
cloudflare:productionfrom
qianzhu18:docs/workflow-retries-limit

Conversation

@qianzhu18

Copy link
Copy Markdown

Summary

  • clarify that retries.limit is the number of retries, not total attempts
  • update the retry steps code comment to note that limit: 10 means 11 total attempts

Why

Issue #30627 points out that the prose says the sample limits a step to 10 retries, while the inline code comment says limit is the total number of attempts. This update makes the example internally consistent with the documented behavior.

Closes #30627

@github-actions

Copy link
Copy Markdown
Contributor

Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant).

@github-actions github-actions Bot added the stale label May 27, 2026

@elithrar elithrar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as a low-risk product-owner docs change.

@elithrar elithrar enabled auto-merge (squash) June 12, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workflows Workflows: https://developers.cloudflare.com/workflows/ size/xs stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WorkflowStepConfig limit is the maximum number of retries, not attempts

5 participants