build: use Go 1.26.8 and preserve glibc 2.31 compatibility - #4312
Open
mswilkison wants to merge 3 commits into
Open
mswilkison wants to merge 3 commits into
mswilkison wants to merge 3 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Keep Bullseye's C compiler and libc while copying the Go 1.26.8 toolchain from the official image. Run packaged Linux binaries on Debian 11 and Ubuntu 20.04 before publication. Align the benchmark job inherited from dev with the module-selected Go toolchain.
mswilkison
force-pushed
the
codex/go-toolchain-3991
branch
from
September 8, 2026 15:26
f583006 to
10b0812
Compare
mswilkison
force-pushed
the
codex/go-toolchain-3991
branch
from
September 8, 2026 15:29
58da9f7 to
97b4e1c
Compare
mswilkison
marked this pull request as ready for review
September 8, 2026 16:01
This was referenced Sep 9, 2026
This was referenced Sep 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Go 1.24 Docker builders reject dependency updates that require Go 1.25.7, including the IPLD update discussed in #3991. Raise the module minimum to 1.25.7 and use Go 1.26.8 for the suggested toolchain, both Docker builders, and CI. Go 1.26 is the older supported release line; Go 1.25 left support when Go 1.27 shipped.
The source builder and runtime move to Alpine 3.23. The release builder retains Bullseye's C compiler and glibc 2.31, copying only Go from the official 1.26.8 image. This preserves cgo for native Linux/amd64 releases and compatibility with Debian 11 and Ubuntu 20.04. Both the client and tag-based release workflows now extract the actual Linux release archive and run the binary in both baseline containers before archiving or publishing it.
All
setup-gojobs use v6 and readgo.mod, including the vendored btcec and manual benchmark jobs; v6 honors thetoolchaindirective. The benchmark job now checks out the repository to read that file. Staticcheck moves to 2026.1 for Go 1.26 support.This targets
devand implements the standalone toolchain step of #3991. All module dependency versions andgo.sumremain unchanged; the issue's separate x/crypto, telemetry, and IPLD/libp2p reviews remain follow-ups.Validation:
GLIBC_2.32andGLIBC_2.34symbols, confirming that the added check detects the regression.CGO_ENABLED=1.git diff --checkpass.97b4e1ce5a26a6db467f322e619de059d844b61d.References: Go release policy and versions, Staticcheck 2026.1.