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: Leaf task with continueOn should not fail DAG #2668

Merged
merged 3 commits into from
Apr 14, 2020

Conversation

simster7
Copy link
Member

Fixes an edge case of #2656. If a leaf task has a continueOn set for its current phase it will still fail the DAG. This PR fixes that.

@codecov
Copy link

codecov bot commented Apr 11, 2020

Codecov Report

Merging #2668 into master will decrease coverage by 0.00%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2668      +/-   ##
==========================================
- Coverage   11.62%   11.61%   -0.01%     
==========================================
  Files          84       84              
  Lines       32871    32822      -49     
==========================================
- Hits         3820     3812       -8     
+ Misses      28525    28489      -36     
+ Partials      526      521       -5     
Impacted Files Coverage Δ
workflow/controller/dag.go 55.62% <50.00%> (+0.13%) ⬆️
cmd/argo/commands/retry.go 0.00% <0.00%> (ø)
workflow/util/util.go 27.56% <0.00%> (+0.17%) ⬆️
workflow/controller/operator.go 60.83% <0.00%> (+0.38%) ⬆️

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 3c20d4c...02a1ba8. Read the comment docs.

@simster7 simster7 requested review from alexec and sarabala1979 April 13, 2020 21:59
@sonarcloud
Copy link

sonarcloud bot commented Apr 14, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@simster7 simster7 merged commit c67f5ff into argoproj:master Apr 14, 2020
@simster7
Copy link
Member Author

Back-ported to 2.7

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.

2 participants