forked from uber/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow retry incorrectly set attempt on start event of new run (ube…
…r#1486) Workflow execution with retry policy does not update attempt on new run and always sets it to 1. This results in retry policy to never fail the execution based on attempt. Fixing the mutablestate update to use correct value for attempt from the new start attributes. Also added integration tests to validate attemp on start attributes and also test bailout using attempt or non-retryable errors from the policy.
- Loading branch information
1 parent
3e0ad4b
commit 7d1ad39
Showing
2 changed files
with
159 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters