Skip to content

build: update to Go 1.26.5 - #34

Merged
alexeykazakov merged 3 commits into
codeready-toolchain:masterfrom
xcoulon:upgrade-go-1.26-cli-mcp-server
Aug 11, 2026
Merged

build: update to Go 1.26.5#34
alexeykazakov merged 3 commits into
codeready-toolchain:masterfrom
xcoulon:upgrade-go-1.26-cli-mcp-server

Conversation

@xcoulon

@xcoulon xcoulon commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Signed-off-by: Xavier Coulon xcoulon@redhat.com

Summary by CodeRabbit

  • Chores
    • Updated the application build environment to Go 1.26.
    • Added a Go 1.26.5 toolchain requirement to improve build consistency across development and deployment environments.
    • Updated supporting language tooling to maintain compatibility with the latest Go release.
    • Refreshed build configuration for both application components while preserving existing runtime behavior and configuration.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: e1553f4c-83e4-45f5-9854-d963fcfd6b6c

📥 Commits

Reviewing files that changed from the base of the PR and between 2b1b031 and ebc119a.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • codeready-toolchain/mcp-common (manual)
  • codeready-toolchain/mcp-server-devsandbox (manual)
  • codeready-toolchain/api (manual)
  • codeready-toolchain/toolchain-common (manual)
  • codeready-toolchain/host-operator (manual)
  • codeready-toolchain/toolchain-e2e (manual)
🚧 Files skipped from review as they are similar to previous changes (1)
  • go.mod
📜 Recent review details
⏰ Context from checks skipped due to timeout. (4)
  • GitHub Check: Build Image (cli-mcp-server)
  • GitHub Check: build-test-coverage
  • GitHub Check: Lint
  • GitHub Check: govulncheck
🧰 Additional context used
🔀 Multi-repo context codeready-toolchain/mcp-common, codeready-toolchain/api, codeready-toolchain/toolchain-common, codeready-toolchain/host-operator, codeready-toolchain/toolchain-e2e, codeready-toolchain/mcp-server-devsandbox

Linked repositories findings

mcp-common

  • go.mod:3-5 requires Go 1.26 and toolchain go1.26.5, matching the PR’s target. [::codeready-toolchain/mcp-common::]
  • The module currently uses golang.org/x/* dependencies compatible with the updated dependency set; no exported API changes were observed. [::codeready-toolchain/mcp-common::]

api, toolchain-common, host-operator, toolchain-e2e

  • Each repository’s go.mod already requires Go 1.26.0 and toolchain go1.26.5, supporting consistency with this upgrade. [::codeready-toolchain/api::] [::codeready-toolchain/toolchain-common::] [::codeready-toolchain/host-operator::] [::codeready-toolchain/toolchain-e2e::]
  • toolchain-common, host-operator, and toolchain-e2e already use golang.org/x/text v0.39.0, matching the PR’s indirect dependency upgrade. [::codeready-toolchain/toolchain-common::] [::codeready-toolchain/host-operator::] [::codeready-toolchain/toolchain-e2e::]

mcp-server-devsandbox

  • Dockerfile:2 and go.mod:3 still target Go 1.25, while its go.mod:7 uses an older mcp-common pseudo-version. This sibling is not yet aligned with the PR’s Go 1.26/mcp-common update and may require a separate follow-up. [::codeready-toolchain/mcp-server-devsandbox::]

Walkthrough

The project updates its Go module to Go 1.26, adds the Go 1.26.5 toolchain requirement, upgrades dependencies, and updates both container builder images to Go 1.26.

Changes

Go toolchain and dependency alignment

Layer / File(s) Summary
Toolchain and dependency updates
go.mod, Containerfile.agent, Containerfile.server
The module now declares Go 1.26.0, requires toolchain go1.26.5, updates mcp-common, and uses golang.org/x/text v0.39.0. Both builder images now use golang:1.26-alpine.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested labels: dependencies

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: updating the project to Go 1.26.5.
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

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

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
@alexeykazakov
alexeykazakov merged commit c0e77a1 into codeready-toolchain:master Aug 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants