-
Notifications
You must be signed in to change notification settings - Fork 292
sanitizer: preserve valid build farm cluster assignments during validation #4878
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
base: main
Are you sure you want to change the base?
Conversation
…ation When sanitize-prow-jobs runs during validation, it now preserves existing cluster assignments if the cluster is a valid build farm member and not blocked. This prevents validation failures caused by minor cluster field inconsistencies between dispatcher assignments and the deterministic algorithm, while still recalculating when the assignment is invalid. Signed-off-by: Jakub Guzik <jguzik@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
WalkthroughAdds early cluster preservation logic in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**⚙️ CodeRabbit configuration file
Files:
🧬 Code graph analysis (1)pkg/sanitizer/determinize_test.go (2)
🔇 Additional comments (3)
Comment |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danilo-gemoli, jmguzik The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/test breaking-changes |
|
/test checkconfig frontend-checks images integration |
|
@jmguzik: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
When sanitize-prow-jobs runs during validation, it now preserves existing cluster assignments if the cluster is a valid build farm member and not blocked. This prevents validation failures caused by minor cluster field inconsistencies between dispatcher assignments and the deterministic algorithm, while still recalculating when the assignment is invalid.