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

🌱 Handlers: Use low priority when object is unchanged and priority queue #3152

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

alvaroaleman
Copy link
Member

This change makes the TypedFuncs and enqueueRequestsFromMapFunc set a low priority when the object is unchanged by default, as well as extend the test coverage to validate this behavior for EnqueueRequestForOwner.

Fixes #3105

This change makes the `TypedFuncs` and `enqueueRequestsFromMapFunc` set
a low priority when the object is unchanged by default, as well as
extend the test coverage to validate this behavior for `EnqueueRequestForOwner`.
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 11, 2025
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 11, 2025
@troy0820
Copy link
Member

/lgtm

Gotcha, yeah I do see what you are saying now @alvaroaleman !

Thanks for doing this.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 12, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 14b877a0c85c41277b43041e0be4793a1942839d

@k8s-ci-robot k8s-ci-robot merged commit 1561e8c into kubernetes-sigs:main Mar 12, 2025
10 of 11 checks passed
@sbueringer
Copy link
Member

sbueringer commented Mar 13, 2025

Also add a comment here: #3105 (comment)

@sbueringer
Copy link
Member

sbueringer commented Mar 16, 2025

Just for reference, comments have been addressed via #3160

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handlers should default to LowPriorityWhenUnchanged without a wrapper
4 participants