Skip to content

fix: manually sync OWNERS file until bug is fixed in autoowners#78834

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
christophermancini:cm/owners
May 5, 2026
Merged

fix: manually sync OWNERS file until bug is fixed in autoowners#78834
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
christophermancini:cm/owners

Conversation

@christophermancini
Copy link
Copy Markdown
Contributor

@christophermancini christophermancini commented May 5, 2026

Manually syncing the OWNERS file till this bug is fixed in ci-tools repo: openshift/ci-tools#5128

Summary by CodeRabbit

  • Chores
    • Updated internal code ownership and approval configuration to reorganize reviewer and approver assignments with enhanced file-matching rules for specific build configurations.

Note: This change is internal operational configuration with no impact on product functionality or end-user experience.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 5, 2026

Walkthrough

The OWNERS file in ci-operator/config/openshift/osde2e/ is restructured with explicit approvers and reviewers sections, and a new filters rule is added for nightly job YAML files, expanding the approver list for matching paths.

Changes

OWNERS Structure Reorganization

Layer / File(s) Summary
Configuration Restructuring
ci-operator/config/openshift/osde2e/OWNERS
reviewers and approvers lists are explicitly reorganized with updated formatting. Top-level options: {} is removed. New filters section added to match nightly job files (^openshift-osde2e-main__nightly-.*\.yaml$) with an expanded approver list combining existing approvers (ritmun, yiqinzhang, varunraokadaparthi, christophermancini) and filter-specific approvers (bmeng, dustman9000, smarthall, ravitri).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: manually syncing an OWNERS file due to an autoowners bug, which matches the PR objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The custom check for Ginkgo test names does not apply. This PR only modifies ci-operator/config/openshift/osde2e/OWNERS, a YAML configuration file containing no Ginkgo tests.
Test Structure And Quality ✅ Passed The custom check for Ginkgo test structure and quality is not applicable to this PR. The PR only modifies an OWNERS configuration file, not any test code. No Ginkgo tests are present in the changes.
Microshift Test Compatibility ✅ Passed This PR only modifies the OWNERS configuration file, not any Ginkgo e2e tests. The MicroShift compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR does not add any Ginkgo e2e tests. Only modifies ci-operator/config/openshift/osde2e/OWNERS file (configuration). Check for SNO test compatibility is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only OWNERS file for review routing. No manifests, operator code, controllers, or scheduling constraints introduced. Check does not apply.
Ote Binary Stdout Contract ✅ Passed Check not applicable. PR only modifies YAML OWNERS config file, not Go binaries or test code subject to OTE stdout contract requirements.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR only modifies the OWNERS configuration file, not any Ginkgo e2e test code. The custom check applies only to new e2e tests and is not applicable here.

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

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

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@openshift-ci openshift-ci Bot requested review from YiqinZhang and minlei98 May 5, 2026 13:31
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 5, 2026
@ritmun
Copy link
Copy Markdown
Contributor

ritmun commented May 5, 2026

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 5, 2026
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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci-operator/config/openshift/osde2e/OWNERS (1)

1-5: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

"DO NOT EDIT" header conflicts with manual edits — risk of silent overwrite.

The header on Line 1 declares this file is auto-generated and should not be manually edited. While the PR description acknowledges this is a deliberate workaround, leaving the "DO NOT EDIT" header intact means:

  1. Reviewers/contributors may not realize this file has been intentionally diverged from the upstream source.
  2. When the autoowners bug in ci-tools is fixed and automation runs again, it will likely overwrite this file silently, reverting the filters block without any warning.

Consider updating the header comment to note the intentional manual edit and the condition under which it can be reverted (i.e., once the ci-tools bug is resolved), or add a prominent inline comment above the filters block explaining it must be preserved when re-syncing.

✏️ Suggested header update
-# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
+# NOTE: This file was MANUALLY EDITED (see https://github.com/openshift/ci-tools/pull/5128).
+# Once the autoowners bug is fixed, re-sync from https://github.com/openshift/ci-tools
+# and ensure the `filters` block below is preserved.
+# Original header: auto-generated using https://github.com/openshift/ci-tools.
🤖 Prompt for 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.

In `@ci-operator/config/openshift/osde2e/OWNERS` around lines 1 - 5, Update the
top-of-file header to clearly indicate this OWNERS file is intentionally
diverged from upstream (include why, who authorized it, and the condition for
reverting once the ci-tools autoowners bug is fixed), and add a prominent inline
comment immediately above the filters block named "filters" stating that this
block is manually preserved and must not be removed or overwritten during
automated sync; reference the OWNERS file and the filters block so reviewers
know where to look and include a brief reversion instruction ("remove this
comment and restore from upstream when ci-tools autoowners bug is fixed").
🤖 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 `@ci-operator/config/openshift/osde2e/OWNERS`:
- Around line 21-23: Update the misleading comment in the OWNERS file so it
clarifies scope: change the line that says "this filter has no effect here" to
explicitly state that the filter has no effect in the upstream osde2e source
repo (because those YAMLs don't exist there) but does apply in this repository
(openshift/release) where files matching openshift-osde2e-main__nightly-*.yaml
exist; keep the surrounding context about other files falling back to top-level
approvers unchanged and reference the pattern
openshift-osde2e-main__nightly-*.yaml in the new wording.

---

Outside diff comments:
In `@ci-operator/config/openshift/osde2e/OWNERS`:
- Around line 1-5: Update the top-of-file header to clearly indicate this OWNERS
file is intentionally diverged from upstream (include why, who authorized it,
and the condition for reverting once the ci-tools autoowners bug is fixed), and
add a prominent inline comment immediately above the filters block named
"filters" stating that this block is manually preserved and must not be removed
or overwritten during automated sync; reference the OWNERS file and the filters
block so reviewers know where to look and include a brief reversion instruction
("remove this comment and restore from upstream when ci-tools autoowners bug is
fixed").
🪄 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 YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: e7d359a3-a2d5-4deb-acf6-76aa02f21c45

📥 Commits

Reviewing files that changed from the base of the PR and between 995676f and c75574d.

📒 Files selected for processing (1)
  • ci-operator/config/openshift/osde2e/OWNERS

Comment on lines +21 to +23
# Pattern: openshift-osde2e-main__nightly-*.yaml
# These files don't exist in osde2e repo, so this filter has no effect here
# Other files (openshift-osde2e-main.yaml, .config.prowgen, OWNERS) fall back to top-level approvers
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 | 🟡 Minor | ⚡ Quick win

Misleading comment — the filter DOES apply in this repo.

The comment on Line 22 states "this filter has no effect here", but "here" is ambiguous. The filter has no effect in the upstream osde2e source repo (because those YAML files don't exist there), but it does apply in this openshift/release repository where the matching openshift-osde2e-main__nightly-*.yaml files reside. The comment should clarify this distinction to avoid confusion.

✏️ Suggested clarification
-  # Nightly job YAML files in openshift/release repo - ROSA engineers can approve
-  # Pattern: openshift-osde2e-main__nightly-*.yaml
-  # These files don't exist in osde2e repo, so this filter has no effect here
-  # Other files (openshift-osde2e-main.yaml, .config.prowgen, OWNERS) fall back to top-level approvers
+  # Nightly job YAML files exist only in openshift/release (not in the upstream osde2e repo),
+  # so autoowners cannot generate this filter automatically - it must be maintained manually.
+  # Pattern: openshift-osde2e-main__nightly-*.yaml
+  # ROSA engineers are granted approver rights for these paths.
+  # Other files (openshift-osde2e-main.yaml, .config.prowgen, OWNERS) fall back to top-level approvers.
🤖 Prompt for 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.

In `@ci-operator/config/openshift/osde2e/OWNERS` around lines 21 - 23, Update the
misleading comment in the OWNERS file so it clarifies scope: change the line
that says "this filter has no effect here" to explicitly state that the filter
has no effect in the upstream osde2e source repo (because those YAMLs don't
exist there) but does apply in this repository (openshift/release) where files
matching openshift-osde2e-main__nightly-*.yaml exist; keep the surrounding
context about other files falling back to top-level approvers unchanged and
reference the pattern openshift-osde2e-main__nightly-*.yaml in the new wording.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label May 5, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@christophermancini: 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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 5, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christophermancini, ritmun

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
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 5, 2026

@christophermancini: all tests passed!

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.

@openshift-merge-bot openshift-merge-bot Bot merged commit ac4fca0 into openshift:main May 5, 2026
13 checks passed
@christophermancini christophermancini deleted the cm/owners branch May 5, 2026 20:52
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants