OCPNODE-4125: Promote disruptive long-running jobs to candidate tier for stabilization#3561
OCPNODE-4125: Promote disruptive long-running jobs to candidate tier for stabilization#3561QiWang19 wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
/pipeline required |
|
Scheduling required tests: |
|
@QiWang19: This pull request references OCPNODE-4125 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThis PR adds a job-tier classification rule for job names containing ChangesDisruptive Longrunning Job Tier
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 18 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (18 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: QiWang19 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pkg/variantregistry/ocp.go`:
- Around line 800-802: Add a new table-driven test case in TestVariantSyncer
(pkg/variantregistry/ocp_test.go) that exercises the jobTierPatterns mapping for
disruptive longrunning jobs: include a job name containing
"-disruptive-longrunning" in the input jobs and assert that the resulting
VariantJobTier equals "candidate". Locate the test's cases slice, add an entry
with an appropriate job spec/name matching the pattern, run the test to ensure
the rule in jobTierPatterns ({[]string{"-disruptive-longrunning"}, "candidate"})
in pkg/variantregistry/ocp.go is covered and the assertion checks VariantJobTier
== "candidate".
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: af10f435-4ea2-411e-8879-9d21da0af736
📒 Files selected for processing (2)
pkg/variantregistry/ocp.gopkg/variantregistry/snapshot.yaml
Signed-off-by: Qi Wang <qiwan@redhat.com>
72b8b34 to
9d78599
Compare
|
Scheduling required tests: |
|
@QiWang19: all tests passed! 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. |
Summary by CodeRabbit
Configuration Updates
Tests