Repository navigation
Conversation
Relocate the sweeper package out of cmd so the CLI is a thin wrapper, and add filtering/labeling by correlated resource kind (listener, connector, multikeylistener).
AryanP123
requested review from
c-kruse,
fgiorgetti and
nluaces
as code owners
October 19, 2026 18:04
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3f569c3f-2eb8-4a3b-8868-7972200ef825
📒 Files selected for processing: 17
internal/cmd/skupper/common/flags.gointernal/cmd/skupper/debug/debug.gointernal/cmd/skupper/debug/kube/conn_sweeper.gointernal/cmd/skupper/debug/nonkube/conn_sweeper.gointernal/debug/sweeper/criteria.gointernal/debug/sweeper/enrich.gointernal/debug/sweeper/enrich_filter_test.gointernal/debug/sweeper/filter.gointernal/debug/sweeper/gather.gointernal/debug/sweeper/gather_test.gointernal/debug/sweeper/inetdiag.gointernal/debug/sweeper/inetdiag_test.gointernal/debug/sweeper/kill.gointernal/debug/sweeper/output.gointernal/debug/sweeper/ports.gointernal/debug/sweeper/ports_test.gointernal/debug/sweeper/sweeper.go
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
106c1eeb-77db-4940-af2a-6b37a9ead079
📒 Files selected for processing: 4
internal/debug/sweeper/enrich.gointernal/debug/sweeper/enrich_filter_test.gointernal/debug/sweeper/filter.gointernal/debug/sweeper/ports.go
🚧 Files skipped from review as they are similar to previous changes: 3
- internal/debug/sweeper/ports.go
- internal/debug/sweeper/enrich_filter_test.go
- internal/debug/sweeper/filter.go
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relocate the sweeper package out of cmd so the CLI is a thin wrapper, and add filtering/labeling by correlated resource kind (listener, connector, multikeylistener).
Fixes #2601
Summary by CodeRabbit
--kindfilter to connection debugging and port listings for listeners, connectors, and multikey listeners.