Skip to content

[release/v1.20] chore: update Go toolchain to 1.25.9#5016

Merged
marcsanmi merged 1 commit into
release/v1.20from
backport-5015-to-release/v1.20
Apr 8, 2026
Merged

[release/v1.20] chore: update Go toolchain to 1.25.9#5016
marcsanmi merged 1 commit into
release/v1.20from
backport-5015-to-release/v1.20

Conversation

@marcsanmi

@marcsanmi marcsanmi commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Backport 77b39b1 from #5015


Summary

  • Update Go toolchain from go1.25.8 to go1.25.9 across CI, Dockerfiles, go.mod/go.work, and release configs
  • Fix tools/upgrade-go-version.sh to work on macOS (BSD sed compatibility)

Conflict resolution

  • Kept release branch's simple make go/test (main added GO_TEST_FLAGS matrix and test-integration job 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.8 to 1.25.9 across GitHub Actions workflows, go.mod/go.work toolchain directives, release configs (.goreleaser.yaml, .pyroscope.yaml), and example Dockerfile base images.

Improves tools/upgrade-go-version.sh by switching to sed -E -i.bak and cleaning up .bak files, making the version-bump script work reliably on macOS/BSD sed.

Reviewed by Cursor Bugbot for commit 1be0987. Bugbot is set up for automated code reviews on this repo. Configure here.

* 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)
@marcsanmi marcsanmi merged commit 22ad073 into release/v1.20 Apr 8, 2026
29 checks passed
@marcsanmi marcsanmi deleted the backport-5015-to-release/v1.20 branch April 8, 2026 15:04
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