Skip to content
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

Merged
merged 3 commits into from Mar 12, 2020

Conversation

simster7
Copy link
Member

Fixes: #2403. Thanks @cscetbon!

@codecov
Copy link

codecov bot commented Mar 10, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@20d6e27). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2407   +/-   ##
=========================================
  Coverage          ?   13.18%           
=========================================
  Files             ?       72           
  Lines             ?    25133           
  Branches          ?        0           
=========================================
  Hits              ?     3315           
  Misses            ?    21402           
  Partials          ?      416
Impacted Files Coverage Δ
workflow/controller/operator.go 61.91% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 20d6e27...5e092ed. Read the comment docs.

@simster7 simster7 added this to the v2.7 milestone Mar 10, 2020
@simster7 simster7 added this to In progress in Argo Workflows OSS Kanban Board via automation Mar 10, 2020
@@ -591,6 +591,17 @@ func (woc *wfOperationCtx) processNodeRetries(node *wfv1.NodeStatus, retryStrate
return node, true, nil
}

if !lastChildNode.Completed() {
Copy link
Contributor

Choose a reason for hiding this comment

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

tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added test!

Argo Workflows OSS Kanban Board automation moved this from In progress to Reviewer approved Mar 12, 2020
@simster7 simster7 merged commit 1350882 into argoproj:master Mar 12, 2020
Argo Workflows OSS Kanban Board automation moved this from Reviewer approved to Done Mar 12, 2020
@simster7
Copy link
Member Author

Back-ported to 2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Taking time to mark task as succeeded
2 participants