Skip to content

prowgen: migrate rehearsal configs to ci-operator config#77841

Open
Prucek wants to merge 1 commit intoopenshift:mainfrom
Prucek:prowgen-rehearsals
Open

prowgen: migrate rehearsal configs to ci-operator config#77841
Prucek wants to merge 1 commit intoopenshift:mainfrom
Prucek:prowgen-rehearsals

Conversation

@Prucek
Copy link
Copy Markdown
Member

@Prucek Prucek commented Apr 15, 2026

Summary

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Reorganized CI/CD pipeline rehearsal configuration settings across multiple OpenShift project configurations, relocating and consolidating rehearsal behavior specifications in individual pipeline definitions.

…r config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 15, 2026

Walkthrough

This pull request migrates rehearsal-disable configurations from centralized .config.prowgen files to individual pipeline YAML files across multiple OpenShift projects. Rehearsal settings that were previously centralized are now specified per-pipeline or per-test.

Changes

Cohort / File(s) Summary
forge rehearsal configuration
ci-operator/config/openshift-psap/forge/.config.prowgen, ci-operator/config/openshift-psap/forge/openshift-psap-forge-main.yaml, ci-operator/config/openshift-psap/forge/openshift-psap-forge-main__jump.yaml
Removed rehearsals.disable_all from .config.prowgen; added prowgen.disable_rehearsals: true to main and jump pipeline YAML files.
fournos rehearsal configuration
ci-operator/config/openshift-psap/fournos/.config.prowgen, ci-operator/config/openshift-psap/fournos/openshift-psap-fournos-main.yaml
Removed rehearsals block from .config.prowgen; added prowgen.disable_rehearsals: true to main pipeline YAML.
topsail rehearsal configuration
ci-operator/config/openshift-psap/topsail/.config.prowgen, ci-operator/config/openshift-psap/topsail/openshift-psap-topsail-main__*.yaml
Removed rehearsals.disable_all from .config.prowgen; added prowgen.disable_rehearsals: true to three pipeline variants (cont_bench, jump, mac_ai).
backplane-cli rehearsal configuration
ci-operator/config/openshift/backplane-cli/.config.prowgen
Removed rehearsals block containing disabled_rehearsals configuration.
osde2e rehearsal configuration
ci-operator/config/openshift/osde2e/.config.prowgen, ci-operator/config/openshift/osde2e/openshift-osde2e-main.yaml
Removed centralized disabled_rehearsals list from .config.prowgen; added disable_rehearsal: true to three specific test jobs (rosa-stage-e2e-byo-vpc-proxy-install, rosa-stage-e2e-byo-vpc-proxy-postinstall, aws-stage-informing-default) in main YAML.
kernel-module-management rehearsal configuration
ci-operator/config/rh-ecosystem-edge/kernel-module-management/.config.prowgen, ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-*.yaml
Removed rehearsals block for check-commits-count from .config.prowgen; added disable_rehearsal: true to check-commits-count test step across 11 release variant YAML files (main and release-1.0 through release-2.6).
submariner-addon rehearsal configuration
ci-operator/config/stolostron/submariner-addon/.config.prowgen, ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-*.yaml
Removed rehearsals block for sonarcloud from .config.prowgen; added disable_rehearsal: true to sonarcloud test across 9 release variant YAML files (main and release-2.11 through release-2.17).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 10
✅ Passed checks (10 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title clearly and concisely describes the main change: migrating rehearsal configuration from .config.prowgen files to ci-operator configuration fields, which is the primary objective of this changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Stable And Deterministic Test Names ✅ Passed PR modifies only CI/CD configuration files (YAML and .config.prowgen), not Ginkgo test files.
Test Structure And Quality ✅ Passed The custom check for Ginkgo test code quality is not applicable to this pull request. The PR exclusively modifies YAML configuration files (ci-operator config files and .config.prowgen files) that define CI/CD pipeline settings. No Ginkgo test code (Go test files) exists in this PR.
Microshift Test Compatibility ✅ Passed MicroShift Test Compatibility check is not applicable as this PR only modifies CI operator configuration files (YAML and .config.prowgen) for rehearsal control migration, with no Ginkgo e2e tests or test code changes.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR modifies only CI/CD pipeline configuration files with no Ginkgo e2e test code additions or SNO compatibility concerns.
Topology-Aware Scheduling Compatibility ✅ Passed This pull request modifies only ci-operator configuration files in the ci-operator/config/ directory. These are CI/CD pipeline job definitions that control how Prow generates test jobs—they are not deployment manifests, operator code, or controllers. The changes migrate rehearsal control settings from .config.prowgen files to ci-operator YAML fields, which are purely CI orchestration metadata. No scheduling constraints affecting actual workload distribution are introduced.
Ote Binary Stdout Contract ✅ Passed PR modifies only YAML configuration files in ci-operator/config/ directory with no executable code or OTE-related source files.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR modifies only CI infrastructure configuration files without adding new Ginkgo e2e test code, so check is not applicable and passes by default.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Prucek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 15, 2026
@openshift-ci openshift-ci bot requested review from avasilevskii and cdvultur April 15, 2026 13:40
@openshift-merge-bot openshift-merge-bot bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Apr 15, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@Prucek: no rehearsable tests are affected by this change

Note: If this PR includes changes to step registry files (ci-operator/step-registry/) and you expected jobs to be found, try rebasing your PR onto the base branch. This helps pj-rehearse accurately detect changes when the base branch has moved forward.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.6.yaml`:
- Line 157: The change adds the config field "disable_rehearsal" which depends
on openshift/ci-tools#5106; do not merge this commit as-is—either remove the
"disable_rehearsal: true" line from the CI config or hold this PR until
openshift/ci-tools#5106 is merged, so the prowgen support exists before adding
the "disable_rehearsal" field.
🪄 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: Pro Plus

Run ID: 5b0b3bbe-2393-4d2c-8d1b-78a8e47cb87f

📥 Commits

Reviewing files that changed from the base of the PR and between 67862bf and ebdb525.

📒 Files selected for processing (32)
  • ci-operator/config/openshift-psap/forge/.config.prowgen
  • ci-operator/config/openshift-psap/forge/openshift-psap-forge-main.yaml
  • ci-operator/config/openshift-psap/forge/openshift-psap-forge-main__jump.yaml
  • ci-operator/config/openshift-psap/fournos/.config.prowgen
  • ci-operator/config/openshift-psap/fournos/openshift-psap-fournos-main.yaml
  • ci-operator/config/openshift-psap/topsail/.config.prowgen
  • ci-operator/config/openshift-psap/topsail/openshift-psap-topsail-main__cont_bench.yaml
  • ci-operator/config/openshift-psap/topsail/openshift-psap-topsail-main__jump.yaml
  • ci-operator/config/openshift-psap/topsail/openshift-psap-topsail-main__mac_ai.yaml
  • ci-operator/config/openshift/backplane-cli/.config.prowgen
  • ci-operator/config/openshift/osde2e/.config.prowgen
  • ci-operator/config/openshift/osde2e/openshift-osde2e-main.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/.config.prowgen
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-main.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-1.0.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-1.1.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.0.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.1.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.2.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.3.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.4.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.5.yaml
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.6.yaml
  • ci-operator/config/stolostron/submariner-addon/.config.prowgen
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-main.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.11.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.12.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.13.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.14.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.15.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.16.yaml
  • ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.17.yaml
💤 Files with no reviewable changes (7)
  • ci-operator/config/openshift-psap/forge/.config.prowgen
  • ci-operator/config/stolostron/submariner-addon/.config.prowgen
  • ci-operator/config/openshift-psap/topsail/.config.prowgen
  • ci-operator/config/openshift-psap/fournos/.config.prowgen
  • ci-operator/config/rh-ecosystem-edge/kernel-module-management/.config.prowgen
  • ci-operator/config/openshift/backplane-cli/.config.prowgen
  • ci-operator/config/openshift/osde2e/.config.prowgen

clone: true
from: go-builder
- as: check-commits-count
disable_rehearsal: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail
gh pr view 5106 --repo openshift/ci-tools --json state,mergedAt,title,url

Repository: openshift/release

Length of output: 212


Do not merge until openshift/ci-tools#5106 is merged.

The disable_rehearsal field depends on the pending PR openshift/ci-tools#5106 ("prowgen: add rehearsal control to ci-operator config"). Merging this change before that PR is merged will cause config processing to fail.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@ci-operator/config/rh-ecosystem-edge/kernel-module-management/rh-ecosystem-edge-kernel-module-management-release-2.6.yaml`
at line 157, The change adds the config field "disable_rehearsal" which depends
on openshift/ci-tools#5106; do not merge this commit as-is—either remove the
"disable_rehearsal: true" line from the CI config or hold this PR until
openshift/ci-tools#5106 is merged, so the prowgen support exists before adding
the "disable_rehearsal" field.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 15, 2026

@Prucek: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ci-operator-config-metadata ebdb525 link true /test ci-operator-config-metadata
ci/prow/generated-config ebdb525 link true /test generated-config

Full PR test history. Your PR dashboard.

Details

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

approved Indicates a PR has been approved by an approver from all required OWNERS files. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant