[release/v1.20] chore: update Go toolchain to 1.25.9#5016
Merged
Conversation
* fix: make upgrade-go-version.sh macOS compatible Use -E -i.bak instead of GNU-only -i and \+ syntax on the toolchain sed command so the script works on both Linux and macOS. Also update the skill to always create a feature branch first. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Update golang version to 1.25.9 --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> (cherry picked from commit 77b39b1)
aleks-p
approved these changes
Apr 8, 2026
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.
Backport 77b39b1 from #5015
Summary
go1.25.8togo1.25.9across CI, Dockerfiles, go.mod/go.work, and release configstools/upgrade-go-version.shto work on macOS (BSD sed compatibility)Conflict resolution
make go/test(main addedGO_TEST_FLAGSmatrix andtest-integrationjob which don't belong on the release branch)Note
Low Risk
Low risk patch-level Go version bump across CI/release/build configs; main risk is unexpected CI or container build differences due to the new toolchain image/tag.
Overview
Updates the repo’s Go toolchain and build inputs from
1.25.8to1.25.9across GitHub Actions workflows,go.mod/go.worktoolchaindirectives, release configs (.goreleaser.yaml,.pyroscope.yaml), and example Dockerfile base images.Improves
tools/upgrade-go-version.shby switching tosed -E -i.bakand cleaning up.bakfiles, making the version-bump script work reliably on macOS/BSDsed.Reviewed by Cursor Bugbot for commit 1be0987. Bugbot is set up for automated code reviews on this repo. Configure here.