Skip to content

build: bump Go toolchain to 1.26.5#1998

Merged
elevran merged 3 commits into
llm-d:mainfrom
zdtsw:issue_1997
Jul 14, 2026
Merged

build: bump Go toolchain to 1.26.5#1998
elevran merged 3 commits into
llm-d:mainfrom
zdtsw:issue_1997

Conversation

@zdtsw

@zdtsw zdtsw commented Jul 14, 2026

Copy link
Copy Markdown
Member

What type of PR is this?
/kind feature

What this PR does / why we need it:

  • Go 1.25 reaches end-of-life around 2026-08 (when Go 1.27 releases)
  • IGW main has already bumped to go 1.26.0
  • also update base image for coordinator
  • bump golangci-lint to work with 1.26

Which issue(s) this PR fixes:

Fixes #1997

Release note (write NONE if no user-facing change):

NONE

- also update base image for coordinator to algine with other 2 images

Refs llm-d#1997

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
Copilot AI review requested due to automatic review settings July 14, 2026 07:25
@zdtsw zdtsw requested a review from a team as a code owner July 14, 2026 07:25
@zdtsw zdtsw requested review from ahg-g and liu-cong July 14, 2026 07:25
@github-actions github-actions Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. kind/feature Categorizes issue or PR as related to a new feature. labels Jul 14, 2026

Copilot AI left a comment

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.

Pull request overview

This PR updates the repository’s Go version baseline to Go 1.26.5, aligning local/module configuration and container build images with the newer toolchain as requested in #1997.

Changes:

  • Bump the go directive in go.mod to 1.26.5.
  • Update Go builder images in the Sidecar, EPP, Coordinator, and Builder Dockerfiles to Go 1.26.5.
  • Update the Coordinator’s builder base image to use the golang:1.26.5 image.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates module Go version to 1.26.5 to reflect the new toolchain baseline.
Dockerfile.builder Bumps the builder container base image to Go 1.26.5.
Dockerfile.epp Updates the EPP build stage Go image to Go 1.26.5.
Dockerfile.sidecar Updates the sidecar build stage Go image to Go 1.26.5.
Dockerfile.coordinator Updates the coordinator build stage Go image to Go 1.26.5 (and switches builder image source).

- golangci-lint v2.8.0 is built with Go 1.25
v2.10.0 is the first release built with Go 1.26.
- update code to pass lint

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
@zdtsw zdtsw requested a review from kaushikmitr as a code owner July 14, 2026 07:47
@github-actions github-actions Bot added kind/feature Categorizes issue or PR as related to a new feature. and removed kind/feature Categorizes issue or PR as related to a new feature. labels Jul 14, 2026

@elevran elevran left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/lgtm
not approving in case you want to fix the nit on predictedlatency dataproducer.

@elevran

elevran commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

From PR description.

bump golangci-lint to work with 1.26

Which file in PR addresses this?

@elevran elevran self-assigned this Jul 14, 2026
@zdtsw

zdtsw commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

From PR description.

bump golangci-lint to work with 1.26

Which file in PR addresses this?

From PR description.

bump golangci-lint to work with 1.26

Which file in PR addresses this?

https://github.com/zdtsw/llm-d-router/blob/6b6c07cac483bdc7cea672da902a0ecf123d134a/Dockerfile.builder#L8

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
@zdtsw zdtsw requested a review from elevran July 14, 2026 09:35

@tessapham tessapham left a comment

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.

/lgtm

@elevran elevran merged commit 3701c85 into llm-d:main Jul 14, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Categorizes issue or PR as related to a new feature. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump Go toolchain to 1.26

4 participants