-
Notifications
You must be signed in to change notification settings - Fork 656
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
completing retries even if minSuccesses are achieved #4338
Conversation
Signed-off-by: Daniel Rammer <daniel@union.ai>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4338 +/- ##
==========================================
+ Coverage 59.07% 59.35% +0.27%
==========================================
Files 614 544 -70
Lines 52006 38975 -13031
==========================================
- Hits 30723 23133 -7590
+ Misses 18832 13562 -5270
+ Partials 2451 2280 -171
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: Daniel Rammer <daniel@union.ai>
@@ -273,7 +273,8 @@ func SummaryToPhase(ctx context.Context, minSuccesses int64, summary arraystatus | |||
logger.Infof(ctx, "Array is still running and waiting for resources totalWaitingForResources[%v]", totalWaitingForResources) | |||
return PhaseWaitingForResources | |||
} | |||
if totalSuccesses >= minSuccesses && totalRunning == 0 { | |||
//if totalSuccesses >= minSuccesses && totalRunning == 0 && totalRetryableFailures == 0 { |
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.
Remove this.
Signed-off-by: Daniel Rammer <daniel@union.ai>
Tracking issue
fixes #4331
Describe your changes
Check if any subtasks are in phase retryable failure before transitioning to succeeded.
Check all the applicable boxes
Screenshots
NA
Note to reviewers
NA