Skip to content

refactor(annotation): rationalize filtering#6065

Merged
k8s-ci-robot merged 9 commits intokubernetes-sigs:masterfrom
gofogo:chore-annotation-filtering-duplication
Dec 30, 2025
Merged

refactor(annotation): rationalize filtering#6065
k8s-ci-robot merged 9 commits intokubernetes-sigs:masterfrom
gofogo:chore-annotation-filtering-duplication

Conversation

@ivankatliarchuk
Copy link
Copy Markdown
Member

@ivankatliarchuk ivankatliarchuk commented Dec 30, 2025

What does it do ?

While was reviewing issues, found that multiple sources do use they own annotation filter methods....

Follow-up:

Motivation

  • Ensures consistency across all sources
  • Single location for bug fixes/improvements
  • Easier to test comprehensively

More

  • Yes, this PR title follows Conventional Commits
  • Yes, I added unit tests
  • Yes, I updated end user documentation accordingly

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. source size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 30, 2025
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@ivankatliarchuk ivankatliarchuk marked this pull request as draft December 30, 2025 10:38
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 30, 2025
@coveralls
Copy link
Copy Markdown

coveralls commented Dec 30, 2025

Pull Request Test Coverage Report for Build 20595903827

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 289 unchanged lines in 20 files lost coverage.
  • Overall coverage decreased (-0.08%) to 78.84%

Files with Coverage Reduction New Missed Lines %
gateway_udproute.go 2 92.59%
gateway_grpcroute.go 2 92.59%
gateway_tlsroute.go 2 92.59%
node.go 2 92.42%
gateway_httproute.go 2 92.59%
gateway_tcproute.go 2 92.59%
source.go 2 72.22%
openshift_route.go 3 85.0%
gateway_hostname.go 4 42.86%
contour_httpproxy.go 7 84.35%
Totals Coverage Status
Change from base Build 20594269099: -0.08%
Covered Lines: 15787
Relevant Lines: 20024

💛 - Coveralls

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 30, 2025
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@ivankatliarchuk ivankatliarchuk marked this pull request as ready for review December 30, 2025 11:46
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 30, 2025
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
@ivankatliarchuk ivankatliarchuk changed the title chore(annotation): eliminate annotation filtering duplication chore(annotation): annotation filtering de-duplication Dec 30, 2025
@mloiseleur mloiseleur changed the title chore(annotation): annotation filtering de-duplication refactor(annotation): rationalize filtering Dec 30, 2025
@mloiseleur
Copy link
Copy Markdown
Collaborator

Very nice PR. Thanks @ivankatliarchuk 👍
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 30, 2025
@ivankatliarchuk
Copy link
Copy Markdown
Member Author

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ivankatliarchuk

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

The pull request process is described here

Details 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 30, 2025
@k8s-ci-robot k8s-ci-robot merged commit a4035f1 into kubernetes-sigs:master Dec 30, 2025
18 checks passed
@ivankatliarchuk ivankatliarchuk deleted the chore-annotation-filtering-duplication branch January 3, 2026 10:16
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/XL Denotes a PR that changes 500-999 lines, ignoring generated files. source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants