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: Metric emission with retryStrategy #3470

Merged
merged 4 commits into from Jul 14, 2020
Merged

Conversation

simster7
Copy link
Member

Fixes: #3404

// completed before this execution. If it did not exist prior, then we can infer that it was completed during this execution.
// The statement "(!ok || prevNodeStatus.Completed())" checks for this behavior and represents the material conditional
// "ok -> !prevNodeStatus.Fulfilled()" (https://en.wikipedia.org/wiki/Material_conditional)
if prevNodeStatus, ok := woc.preExecutionNodePhases[retryParentNode.ID]; (!ok || !prevNodeStatus.Fulfilled()) && retryParentNode.Fulfilled() {
Copy link
Contributor

Choose a reason for hiding this comment

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

this is very complex logic

@simster7 simster7 merged commit 7a2d764 into argoproj:master Jul 14, 2020
@simster7
Copy link
Member Author

Back-ported to 2.9.3

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.

Custom Metrics w/ retryStrategy does not work
2 participants