Skip to content

build: move the Go toolchain to 1.26 - #32

Merged
rhuss merged 1 commit into
mainfrom
build/go-1.26
Nov 10, 2026
Merged

rhuss merged 1 commit into
mainfrom
build/go-1.26

Conversation

@rhuss

@rhuss rhuss commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Since #14, ci fails on main: golang.org/x/{net,sys,text,oauth2,sync} and grpc v1.85.0 require Go 1.26, so go.mod moved to go 1.26.0, while mise still installs Go 1.25.14 and the compiler rejects the standard library (version "go1.26.0" does not match go tool version "go1.25.14"). This pins Go 1.26.11 and states the new minimum in the README and the getting-started guide.

Holding the dependencies back is not an option: Go 1.25 is out of support since 1.27, and the x/ modules follow the two supported releases. Core already builds with Go 1.26.7.

This needs to land before core v0.1.8: the stable proposal that core-watch opens would otherwise fail ci, and the SDK v0.1.8 tag follows its merge.

Testing: mise run ci passes locally with Go 1.26.11 (lint, proto:check, conformance:check, tests with -race).

The dependency update in #14 raised go.mod to go 1.26.0, because
golang.org/x/{net,sys,text,oauth2,sync} and grpc v1.85.0 now require
Go 1.26. mise still installed Go 1.25.14, so the compiler rejected the
standard library ("version go1.26.0 does not match go tool version
go1.25.14") and ci has failed on main since.

Pin Go 1.26.11, the latest 1.26 patch release, and state the new
minimum in the README and the getting-started guide. Holding the
dependencies back instead is not an option: Go 1.25 is out of support
now that 1.27 is out, and the x/ modules follow the two supported
releases.

Signed-off-by: Roland Huß <rhuss@redhat.com>
@rhuss
rhuss requested review from a team as code owners November 10, 2026 17:26
@rhuss
rhuss merged commit 14820a8 into main Nov 10, 2026
9 checks passed
@rhuss
rhuss deleted the build/go-1.26 branch November 10, 2026 17:34
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.

2 participants