-
Notifications
You must be signed in to change notification settings - Fork 95
MCO-1968: Move cloud disruptive test variants to standard jobTier in sippy #3094
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
|
Pipeline controller notification For optional jobs, comment |
|
@djoshy: This pull request references MCO-1968 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 "4.21.0" version, but no target version was set. In 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. |
|
Note
|
| Cohort / File(s) | Summary |
|---|---|
MCO Job Tier Refactoring pkg/variantregistry/ocp.go |
Replaces single {-mco-disruptive} candidate mapping with: three metal-specific MCO disruptive entries (candidate tier), two AWS OVN OCL entries (standard tier), two release-specific MCO entries for 4.19/4.20 (candidate tier), and updates default MCO disruptive handling to standard tier. |
JobTier Value Updates pkg/variantregistry/snapshot.yaml |
Updates JobTier field from candidate to standard across multiple periodic CI entries. Bulk configuration change with no structural alterations. |
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~15 minutes
- Verify MCO job tier logic changes produce expected categorization across all variants
- Confirm snapshot.yaml updates align with ocp.go registry changes and reflect intended CI job prioritization
- Ensure no existing functionality is inadvertently affected by the tier reassignments
Pre-merge checks and finishing touches
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Single Responsibility And Clear Naming | OCPRegistry struct contains duplicate sync.RWMutex fields (mu and lock), violating Single Responsibility by maintaining multiple redundant synchronization primitives instead of one clear locking mechanism. | Remove duplicate lock fields and keep only one descriptive RWMutex (e.g., ruleMutex) to ensure single synchronization responsibility and consistent usage across all methods. |
✅ Passed checks (6 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Go Error Handling | ✅ Passed | PR contains YAML configuration updates without substantive Go error handling code changes, so no violations to assess. |
| Sql Injection Prevention | ✅ Passed | Pull request modifies configuration files with job tier mappings and CI/CD variant registry data. No SQL query construction, database operations, or dynamic query building is present. |
| Excessive Css In React Should Use Styles | ✅ Passed | PR modifies Go and YAML backend files, not React components with inline CSS. |
| Title check | ✅ Passed | The title clearly references the specific Jira issue (MCO-1968) and accurately summarizes the main change: moving cloud disruptive test variants to standard jobTier in sippy. |
✨ Finishing touches
- 📝 Generate docstrings
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Post copyable unit tests in a comment
Comment @coderabbitai help to get the list of available commands and usage tips.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: djoshy The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold Throwing in a hold for the moment, need to get consensus from the MCO team 😄 |
|
@djoshy: This pull request references MCO-1968 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 "4.21.0" version, but no target version was set. In 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. |
|
Scheduling required tests: |
|
@djoshy: all tests passed! Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This sets all of MCO's non metal disruptive jobs to the standard tier, permitting them report to MCO's CR. All 4.19/4.20 jobs and metal jobs have been excluded.
Summary by CodeRabbit