Skip to content

Conversation

@djoshy
Copy link
Contributor

@djoshy djoshy commented Nov 7, 2025

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

  • Chores
    • Refined job tier classifications for Machine Config Operator-related tests with granular control by specific platform variants and software releases.
    • Updated default handling for MCO-related jobs to improve resource allocation.
    • Expanded test configuration entries for specific platform types and upgrade paths in CI infrastructure.

@openshift-ci-robot
Copy link

Pipeline controller notification
This repository is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. Review these jobs and use /test <job> to manually trigger optional jobs most likely to be impacted by the proposed changes.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 7, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 7, 2025

@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:

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.

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.

@djoshy djoshy changed the title MCO-1968: Move cloud disruptive test variants to standard in sippy MCO-1968: Move cloud disruptive test variants to standard jobTier in sippy Nov 7, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 7, 2025

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'tools'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

This PR refactors machine configuration operator (MCO) job tier assignments in the variant registry. It replaces a historical MCO-related candidate entry with granular metal-specific and release-specific MCO variants, introduces new AWS OVN OCL standard entries, and adjusts default MCO job tier handling from candidate to standard.

Changes

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 ⚠️ Warning 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.

@openshift-ci openshift-ci bot requested review from smg247 and sosiouxme November 7, 2025 19:48
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: djoshy
Once this PR has been reviewed and has the lgtm label, please assign stbenjam for approval. For more information see the Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@djoshy
Copy link
Contributor Author

djoshy commented Nov 7, 2025

/hold

Throwing in a hold for the moment, need to get consensus from the MCO team 😄

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 7, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 7, 2025

@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:

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

  • Chores
  • Refined job tier classifications for Machine Config Operator-related tests with granular control by specific platform variants and software releases.
  • Updated default handling for MCO-related jobs to improve resource allocation.
  • Expanded test configuration entries for specific platform types and upgrade paths in CI infrastructure.

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.

@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 7, 2025

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants