Skip to content

Add 4.11.2 version#441

Open
dvail wants to merge 1 commit into
masterfrom
dv/add-4.11.2
Open

Add 4.11.2 version#441
dvail wants to merge 1 commit into
masterfrom
dv/add-4.11.2

Conversation

@dvail

@dvail dvail commented Jul 23, 2026

Copy link
Copy Markdown

WIP - currently 4.11.2-rc.1

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Added the RHACS Operator version 4.11.2-rc.1 to the operator catalog.
    • Updated release channels and upgrade paths to include the new release candidate.
    • Added the corresponding operator bundle and related component images.

Walkthrough

Adds the RHACS operator 4.11.2-rc.1 bundle image, channel entries, upgrade rules, embedded OLM bundle data, CSV metadata, and related images to the operator catalogs.

Changes

RHACS operator release candidate

Layer / File(s) Summary
Bundle image declaration
bundles.yaml, catalog-template.yaml
Adds the 4.11.2-rc.1 release-operator bundle image with its SHA256 digest.
Catalog channel wiring
catalog-template.yaml
Adds the release candidate to the rhacs-4.11 and stable channels, replacing 4.11.1 with the specified skip range.
Generated OLM catalog entries
catalog-bundle-object/..., catalog-csv-metadata/...
Adds the new bundle definitions, OLM properties, embedded payloads, CSV metadata, and related images to both catalog JSON files.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: davdhacs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change by adding the 4.11.2 operator version, though the diff specifically introduces 4.11.2-rc.1.
Description check ✅ Passed The description is brief but directly references the 4.11.2-rc.1 work in progress and is on-topic.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dv/add-4.11.2

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Checkov (3.3.8)
catalog-bundle-object/rhacs-operator/catalog.json

Checkov skipped this file: it is too large to scan (32274171 bytes)

catalog-csv-metadata/rhacs-operator/catalog.json

Checkov skipped this file: it is too large to scan (15046164 bytes)

bundles.yaml

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'

  • 1 others
🔧 ast-grep (0.44.1)
catalog-bundle-object/rhacs-operator/catalog.json

ast-grep skipped this file: it is too large to scan (32274171 bytes)

catalog-csv-metadata/rhacs-operator/catalog.json

ast-grep skipped this file: it is too large to scan (15046164 bytes)


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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@catalog-template.yaml`:
- Around line 3154-3156: Move the rhacs-operator.v4.11.2-rc.1 entry from the
stable channel block to the intended candidate channel, preserving its replaces
and skipRange values so stable subscribers cannot receive the prerelease
version.
🪄 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: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 1a790e8c-e2de-43ba-b1bd-ac149760a158

📥 Commits

Reviewing files that changed from the base of the PR and between 08dcd6b and 80b73dc.

📒 Files selected for processing (4)
  • bundles.yaml
  • catalog-bundle-object/rhacs-operator/catalog.json
  • catalog-csv-metadata/rhacs-operator/catalog.json
  • catalog-template.yaml

Comment thread catalog-template.yaml
Comment on lines +3154 to +3156
- name: rhacs-operator.v4.11.2-rc.1
replaces: rhacs-operator.v4.11.1
skipRange: ">= 4.10.0 < 4.11.2-rc.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the target region with line numbers
sed -n '3135,3175p' catalog-template.yaml | cat -n

# Search for nearby channel markers and this package/version
rg -n '^(  - name:|channel:|name: rhacs-operator\.v4\.11\.2-rc\.1|replaces: rhacs-operator\.v4\.11\.1|skipRange:)' catalog-template.yaml

Repository: stackrox/operator-index

Length of output: 40196


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show the target block with exact line numbers
nl -ba catalog-template.yaml | sed -n '3145,3165p'

# Show the nearest enclosing channel header above the target line
awk 'NR<=3156 { if ($0 ~ /^  - name:/) last=$0; if ($0 ~ /^channel:/) chan=$0 } END { print "LAST_ENTRY=" last; print "LAST_CHANNEL=" chan }' catalog-template.yaml

Repository: stackrox/operator-index

Length of output: 201


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Print the surrounding block with line numbers without relying on nl
awk 'NR>=3090 && NR<=3175 { printf "%6d  %s\n", NR, $0 }' catalog-template.yaml

# Locate the nearest channel/schema headers above the target region
awk 'NR>=3000 && NR<=3175 && /^- schema: olm\.channel|^  name:|^  entries:|^  - name:|^  package:|^channel:/' catalog-template.yaml

Repository: stackrox/operator-index

Length of output: 6082


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show a wider window to capture the channel header above the target entries
awk 'NR>=3030 && NR<=3160 { printf "%6d  %s\n", NR, $0 }' catalog-template.yaml

# Find the nearest preceding channel name for the target line
python3 - <<'PY'
from pathlib import Path
lines = Path("catalog-template.yaml").read_text().splitlines()
target = 3154  # 1-based line number from the review comment
channel = None
schema = None
for i in range(target - 1, -1, -1):
    line = lines[i]
    if line.startswith("  name: "):
        channel = line.strip()
        break
    if line.startswith("- schema: "):
        schema = line.strip()
        break
print("nearest_name_line:", channel)
print("nearest_schema_line:", schema)
PY

Repository: stackrox/operator-index

Length of output: 5712


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show the channel header and the start of the current block around the target version
awk 'NR>=2828 && NR<=2865 { printf "%6d  %s\n", NR, $0 }' catalog-template.yaml

# Show any channel names in the same file that mention rc.1
rg -n '^  - name: rhacs-operator\.v4\.11\.2-rc\.1$|^  - name: stable$|^  - name: candidate$|^  - name: fast$' catalog-template.yaml

Repository: stackrox/operator-index

Length of output: 1822


Keep the RC out of stable. rhacs-operator.v4.11.2-rc.1 is in the stable channel block, so stable subscribers can be offered prerelease code via replaces/skipRange. Move it to the intended candidate channel unless stable is meant to carry RCs.

🤖 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 `@catalog-template.yaml` around lines 3154 - 3156, Move the
rhacs-operator.v4.11.2-rc.1 entry from the stable channel block to the intended
candidate channel, preserving its replaces and skipRange values so stable
subscribers cannot receive the prerelease version.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant