-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Handlers should default to LowPriorityWhenUnchanged without a wrapper #3105
Comments
/reopen Not entirely done yet |
@sbueringer: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/reopen @alvaroaleman Do we have to modify more handlers?
+ Should we stop wrapping the handlers with WithLowPriorityWhenUnchanged in pkg/builder/controller.go? Seems redundant |
@sbueringer: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
When we implemented the logic in the handlers to lower the priority for events where the object didn't change, we did that with a wrapper as that can be re-used.
Unfortunately, this requires everyone to remember to use this wrapper, which is extremely easy to forget:
We should instead implement this in the handlers themselves and default to
true
to avoid the need for this.The text was updated successfully, but these errors were encountered: