Skip to content

Revert "OSAC-360: Update Go version in osac-project installer config"#79839

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
omer-vishlitzky:revert-79754-patch-9
May 28, 2026
Merged

Revert "OSAC-360: Update Go version in osac-project installer config"#79839
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
omer-vishlitzky:revert-79754-patch-9

Conversation

@omer-vishlitzky
Copy link
Copy Markdown
Contributor

@omer-vishlitzky omer-vishlitzky commented May 28, 2026

Reverts #79754

Summary by CodeRabbit

This PR reverts the Go version upgrade that was applied to the osac-project installer's CI operator configuration. Specifically, it downgrades the build_root image stream tag in the CI operator configuration for the osac-installer component from the Golang 1.26 / OpenShift 5.0 variant back to the Golang 1.25 / OpenShift 4.21 variant. This single-line change in the CI operator configuration will affect the build environment used for building the osac-installer component, reverting the Go runtime version from 1.26 to 1.25.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 28, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented May 28, 2026

@omer-vishlitzky: This pull request references OSAC-360 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 task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Reverts #79754

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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 28, 2026

Walkthrough

This PR updates the CI operator configuration for the osac-installer project by changing the build_root image stream tag from the Golang 1.26 / OpenShift 5.0 builder variant to the Golang 1.25 / OpenShift 4.21 variant.

Changes

Build root image update

Layer / File(s) Summary
Builder image tag update
ci-operator/config/osac-project/osac-installer/osac-project-osac-installer-main.yaml
The build_root.image_stream_tag.tag is updated from rhel-9-release-golang-1.26-openshift-5.0 to rhel-9-release-golang-1.25-openshift-4.21.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • openshift/release#79754: Both PRs modify the same build_root image stream tag field in the same CI operator configuration file, changing between Golang 1.25/OpenShift 4.21 and 1.26/OpenShift 5.0 builder image variants.

Suggested labels

lgtm, approved, rehearsals-ack

Suggested reviewers

  • eranco74
🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: reverting a previous Go version update in the osac-project installer config, which aligns with the single-line change that downgrades the builder image from Golang 1.26/OpenShift 5.0 to Golang 1.25/OpenShift 4.21.
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 PR is a CI config revert with no Ginkgo test changes; the check is not applicable to this YAML-only configuration update.
Test Structure And Quality ✅ Passed PR only modifies CI operator configuration (YAML), not Ginkgo test code. The custom check for test structure is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo e2e tests are added. The PR only modifies CI operator configuration (YAML file), not test code.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR modifies only a CI configuration YAML file with no new Ginkgo e2e tests; the check is inapplicable.
Topology-Aware Scheduling Compatibility ✅ Passed This PR modifies only a CI operator configuration file (build parameters for Go/OpenShift versions), not deployment manifests, operator code, or controllers. No scheduling constraints are introduced.
Ote Binary Stdout Contract ✅ Passed PR only modifies CI YAML configuration file; no Go code, test binaries, or stdout-writing code is changed, making OTE stdout contract check inapplicable.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR contains no new Ginkgo e2e tests, only CI operator configuration files (YAML, OWNERS, Prow configs). Custom check for IPv6/disconnected network compatibility is not applicable.
No-Weak-Crypto ✅ Passed No weak cryptography usage detected. PR only changes CI configuration file (YAML) with a Go/OpenShift version tag update; contains no cryptographic code.
Container-Privileges ✅ Passed PR modifies only a CI operator config file, not K8s container security contexts. No privileged, hostPID/IPC/Network, SYS_ADMIN, or allowPrivilegeEscalation settings present.
No-Sensitive-Data-In-Logs ✅ Passed The PR contains only CI operator configuration changes with no logging statements, passwords, tokens, API keys, PII, session IDs, or sensitive data exposed.

✏️ 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.

Copy link
Copy Markdown

@akshaynadkarni akshaynadkarni left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@omer-vishlitzky: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-osac-project-osac-installer-main-e2e-vmaas osac-project/osac-installer presubmit Ci-operator config changed
pull-ci-osac-project-osac-installer-main-images osac-project/osac-installer presubmit Ci-operator config changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

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

🧹 Nitpick comments (1)
ci-operator/config/osac-project/osac-installer/osac-project-osac-installer-main.yaml (1)

17-21: Document the justification for reverting the Go version.

This PR reverts from Go 1.26/OpenShift 5.0 to Go 1.25/OpenShift 4.21 without explaining the reason. The Jira comment indicates OSAC-360 lacks a valid target version for the target branch.

Before merging, document:

  • Why the revert is necessary (e.g., compatibility issue, build failure, dependency constraints)
  • Whether any code changes dependent on Go 1.26 features need to be reverted
  • The planned migration path forward, if any
🤖 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/osac-project/osac-installer/osac-project-osac-installer-main.yaml`
around lines 17 - 21, Update documentation to justify reverting the Go/OpenShift
tag: add a brief rationale in the PR description and a YAML comment adjacent to
build_root -> image_stream_tag -> tag explaining why we moved from tag
"rhel-9-release-golang-1.26-openshift-5.0" back to
"rhel-9-release-golang-1.25-openshift-4.21" (e.g.,
compatibility/build/dependency issue), confirm whether any code using Go 1.26
features was reverted (or list files/functions that need changes), and state the
planned migration path and timeline (link to OSAC-360/JIRA). Ensure the comment
references the tag field name and the OSAC-360 ticket ID for traceability.
🤖 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/osac-project/osac-installer/osac-project-osac-installer-main.yaml`:
- Line 21: Update the OpenShift target in the CI config so the builder tag and
release candidate match: set build_root.image_stream_tag.tag to the same
OpenShift version as releases.latest.candidate.version (or vice‑versa) to avoid
mismatched builder/runtime images, and confirm the image_stream tag
release:rhel-9-release-golang-1.25-openshift-4.21 actually exists in the
openshift namespace before using it; also add a concise PR justification for
this revert that explicitly states the intended target OpenShift version
referenced by OSAC-360 and whether the change is bumping the builder or the
candidate release.

---

Nitpick comments:
In
`@ci-operator/config/osac-project/osac-installer/osac-project-osac-installer-main.yaml`:
- Around line 17-21: Update documentation to justify reverting the Go/OpenShift
tag: add a brief rationale in the PR description and a YAML comment adjacent to
build_root -> image_stream_tag -> tag explaining why we moved from tag
"rhel-9-release-golang-1.26-openshift-5.0" back to
"rhel-9-release-golang-1.25-openshift-4.21" (e.g.,
compatibility/build/dependency issue), confirm whether any code using Go 1.26
features was reverted (or list files/functions that need changes), and state the
planned migration path and timeline (link to OSAC-360/JIRA). Ensure the comment
references the tag field name and the OSAC-360 ticket ID for traceability.
🪄 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: 66908c45-6c57-4b01-9814-62df2f4c65a3

📥 Commits

Reviewing files that changed from the base of the PR and between 81c2efb and 558ea92.

📒 Files selected for processing (1)
  • ci-operator/config/osac-project/osac-installer/osac-project-osac-installer-main.yaml

name: release
namespace: openshift
tag: rhel-9-release-golang-1.26-openshift-5.0
tag: rhel-9-release-golang-1.25-openshift-4.21
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 | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify that the builder image stream tag exists in the cluster

# Check if the image stream tag exists in the openshift namespace
oc get imagestreamtag release:rhel-9-release-golang-1.25-openshift-4.21 -n openshift --ignore-not-found 2>&1 || echo "Tag verification requires cluster access"

# Alternative: Search for similar tags in CI config to validate naming pattern
rg -n "rhel-9-release-golang-1\.25-openshift-4\.21" --type yaml

Repository: openshift/release

Length of output: 50374


🏁 Script executed:

#!/bin/bash
set -euo pipefail
FILE="ci-operator/config/osac-project/osac-installer/osac-project-osac-installer-main.yaml"
wc -l "$FILE"
echo "---- lines 1-90 ----"
nl -ba "$FILE" | sed -n '1,90p'

Repository: openshift/release

Length of output: 231


🏁 Script executed:

#!/bin/bash
set -euo pipefail
FILE="ci-operator/config/osac-project/osac-installer/osac-project-osac-installer-main.yaml"
echo "---- file (show key sections) ----"
echo
echo "== build_root section (lines 1-40) =="
cat -n "$FILE" | sed -n '1,40p'
echo
echo "== releases section (lines 40-90) =="
cat -n "$FILE" | sed -n '40,90p'

Repository: openshift/release

Length of output: 2526


Align OpenShift version targets (and confirm builder tag availability) for OSAC installer

  • build_root.image_stream_tag.tag is rhel-9-release-golang-1.25-openshift-4.21 (line 21), but releases.latest.candidate.version is 4.20 (lines 54-60); align these OpenShift versions to avoid mismatched builder/runtime images.
  • Ensure release:rhel-9-release-golang-1.25-openshift-4.21 exists in the openshift namespace before relying on this builder tag.
  • Add PR justification for the revert and clarify the intended target version referenced by OSAC-360.
🤖 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/osac-project/osac-installer/osac-project-osac-installer-main.yaml`
at line 21, Update the OpenShift target in the CI config so the builder tag and
release candidate match: set build_root.image_stream_tag.tag to the same
OpenShift version as releases.latest.candidate.version (or vice‑versa) to avoid
mismatched builder/runtime images, and confirm the image_stream tag
release:rhel-9-release-golang-1.25-openshift-4.21 actually exists in the
openshift namespace before using it; also add a concise PR justification for
this revert that explicitly states the intended target OpenShift version
referenced by OSAC-360 and whether the change is bumping the builder or the
candidate release.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 28, 2026

@omer-vishlitzky: 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.

@omer-vishlitzky
Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

1 similar comment
@omer-vishlitzky
Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@omer-vishlitzky: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 28, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 28, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akshaynadkarni, omer-vishlitzky

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 May 28, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit ba985fa into openshift:main May 28, 2026
14 checks passed
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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.

3 participants