Skip to content

[fix]: use 1-based attempt number#272

Open
zhongkechen wants to merge 1 commit intomainfrom
attempt
Open

[fix]: use 1-based attempt number#272
zhongkechen wants to merge 1 commit intomainfrom
attempt

Conversation

@zhongkechen
Copy link
Contributor

@zhongkechen zhongkechen commented Mar 26, 2026

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue Link, if available

Description

Currently all the attempt parameter is 0-based, which doesn't align with backend (users see in execution history) or the javascript SDK.

Fix:
use 1-based attempt parameter

Impact:

  • retry strategies used in step operation
  • wait strategy used in waitForCondition operation
  • polling strategy used in background polling mechanism

Demo/Screenshots

Checklist

  • I have filled out every section of the PR template
  • I have thoroughly tested this change

Testing

Unit Tests

Have unit tests been written for these changes?

Integration Tests

Have integration tests been written for these changes?

Examples

Has a new example been added for the change? (if applicable)

@zhongkechen zhongkechen marked this pull request as ready for review March 26, 2026 03:14
@zhongkechen zhongkechen requested a review from a team March 26, 2026 03:14
@zhongkechen zhongkechen self-assigned this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant