Skip to content

fix: correct retries.limit description to say retries not attempts#31068

Open
qianzhu18 wants to merge 1 commit into
cloudflare:productionfrom
qianzhu18:fix/workflows-retry-limit-comment
Open

fix: correct retries.limit description to say retries not attempts#31068
qianzhu18 wants to merge 1 commit into
cloudflare:productionfrom
qianzhu18:fix/workflows-retry-limit-comment

Conversation

@qianzhu18
Copy link
Copy Markdown

Summary

  • Updated the StepConfig description to say "retries" instead of "attempts" for the retries.limit property
  • Updated the code comment from // The total number of attempts to // The total number of retries (11 attempts total)

The retries.limit property specifies the maximum number of retries, not the total number of attempts. For example, limit: 10 means 10 retries (11 attempts total), not 10 attempts.

Fixes #30627

The `retries.limit` property specifies the maximum number of retries,
not the total number of attempts. Updated the description and code
comment to accurately reflect this behavior.

Fixes cloudflare#30627
@qianzhu18 qianzhu18 requested review from a team, celso, elithrar, jonesphillip and mia303 as code owners May 26, 2026 18:07
@github-actions github-actions Bot added product:workflows Workflows: https://developers.cloudflare.com/workflows/ size/xs labels May 26, 2026
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

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