-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Check child node status before backoff in retry #2407
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2407 +/- ##
=========================================
Coverage ? 13.18%
=========================================
Files ? 72
Lines ? 25133
Branches ? 0
=========================================
Hits ? 3315
Misses ? 21402
Partials ? 416
Continue to review full report at Codecov.
|
@@ -591,6 +591,17 @@ func (woc *wfOperationCtx) processNodeRetries(node *wfv1.NodeStatus, retryStrate | |||
return node, true, nil | |||
} | |||
|
|||
if !lastChildNode.Completed() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added test!
Back-ported to 2.6 |
Fixes: #2403. Thanks @cscetbon!