Skip to content

chore: bump Go 1.25 and ART images for 4.22#216

Open
ibihim wants to merge 2 commits into
openshift:masterfrom
ibihim:fix/bump-go-1.25-for-4.22
Open

chore: bump Go 1.25 and ART images for 4.22#216
ibihim wants to merge 2 commits into
openshift:masterfrom
ibihim:fix/bump-go-1.25-for-4.22

Conversation

@ibihim

@ibihim ibihim commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

Summary

The ART PR #207 was failing verify-golang-versions because it bumped the CI and Dockerfile images to Go 1.25 but go.mod was still at 1.24. This PR fixes the mismatch and includes the ART changes, superseding #207.

Test plan

  • go build ./... compiles cleanly
  • make test-unit passes
  • make verify passes (including verify-golang-versions)

ibihim added 2 commits March 16, 2026 00:04
The ART image bump for 4.22 updates .ci-operator.yaml and
images/Dockerfile.rhel to use Go 1.25 builder images, but go.mod
was still at 1.24.0. The verify-golang-versions check requires all
three to agree.
@coderabbitai

coderabbitai Bot commented Mar 15, 2026

Copy link
Copy Markdown

Walkthrough

Updates Go toolchain from 1.24.0 to 1.25.0 and OpenShift base images from 4.21 to 4.22 across build configuration, dependency manifest, and Docker build files.

Changes

Cohort / File(s) Summary
Go Toolchain Update
go.mod
Updated Go toolchain version from 1.24.0 to 1.25.0.
Build & Runtime Images
.ci-operator.yaml, images/Dockerfile.rhel
Updated build root image and base images from rhel-9-golang-1.24-openshift-4.21 to rhel-9-golang-1.25-openshift-4.22, and updated final base image from 4.21 to 4.22.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

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

Tip

CodeRabbit can enforce grammar and style rules using `languagetool`.

Configure the reviews.tools.languagetool setting to enable/disable rules and categories. Refer to the LanguageTool Community to learn more.

@openshift-ci openshift-ci Bot requested review from deads2k and liouk March 15, 2026 23:05
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 15, 2026

@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 the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 3: The go.mod contains an invalid Go version directive ("go 1.25.0");
update the module's Go version directive in go.mod to a real released patch (for
example "go 1.25.8") so it matches an official Go release and won't break
builds, then run a quick verification (e.g., go version or go env GOMOD) to
confirm the toolchain accepts the change.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2b4895c2-b1ef-4152-8e1c-8b3643ffdff0

📥 Commits

Reviewing files that changed from the base of the PR and between 69bdf8b and 01b5276.

📒 Files selected for processing (3)
  • .ci-operator.yaml
  • go.mod
  • images/Dockerfile.rhel

Comment thread go.mod
module github.com/openshift/oauth-server

go 1.24.0
go 1.25.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify Go 1.25.0 is a valid released version
curl -s https://go.dev/dl/?mode=json | jq -r '.[].version' | grep -E '^go1\.25' | head -5

Repository: openshift/oauth-server

Length of output: 74


Go 1.25.0 is not a valid released version and will cause build failures.

The verification shows that only go1.25.8 exists in the official Go releases. Verify which 1.25.x version should be used (e.g., go1.25.8) and update go.mod accordingly to match the actual available release.

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

In `@go.mod` at line 3, The go.mod contains an invalid Go version directive ("go
1.25.0"); update the module's Go version directive in go.mod to a real released
patch (for example "go 1.25.8") so it matches an official Go release and won't
break builds, then run a quick verification (e.g., go version or go env GOMOD)
to confirm the toolchain accepts the change.

@openshift-ci

openshift-ci Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

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

@liouk

liouk commented Mar 16, 2026

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 16, 2026
@openshift-ci

openshift-ci Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ibihim, liouk

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

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants