-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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(appset): generated app errors should use the default requeue (#21887) #21936
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: rumstead <[email protected]>
❗ Preview Environment deployment failed on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
Signed-off-by: rumstead <[email protected]>
Signed-off-by: rumstead <[email protected]>
@@ -164,7 +164,8 @@ func (r *ApplicationSetReconciler) Reconcile(ctx context.Context, req ctrl.Reque | |||
Status: argov1alpha1.ApplicationSetConditionStatusTrue, | |||
}, parametersGenerated, | |||
) | |||
return ctrl.Result{RequeueAfter: ReconcileRequeueOnValidationError}, err | |||
// In order for the controller SDK to respect RequeueAfter, the error must be nil |
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.
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.
// If the returned error is non-nil, the Result is ignored and the request will be
// requeued using exponential backoff. The only exception is if the error is a
// TerminalError in which case no requeuing happens.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #21936 +/- ##
==========================================
- Coverage 55.63% 53.44% -2.20%
==========================================
Files 341 341
Lines 56996 56998 +2
==========================================
- Hits 31708 30460 -1248
- Misses 22634 23943 +1309
+ Partials 2654 2595 -59 ☔ View full report in Codecov by Sentry. |
fixes #21887
I think we should cherry pick this into 2.14, 2.13, and 2.12
Checklist: