Repository navigation
ci: build with the latest Go patch release - #2776
Merged
Merged
Conversation
setup-go reads "go 1.27.0" in go.mod as an exact version, so check-latest never applied: Windows and macOS release binaries shipped with Go 1.27.0, affected by GO-2026-6617 (HTTP/2 HPACK encoder race, fixed in 1.27.2). Without a patch number, setup-go resolves the latest 1.27 release.
A patch release in the go or toolchain directive pins CI to it and goes stale, and go get adds them back on its own.
dunglas
force-pushed
the
ci/setup-go-latest-patch
branch
from
October 26, 2026 09:26
c79303f to
cb37041
Compare
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.
setup-goreadgo 1.27.0fromgo.modas an exact version, socheck-latestnever applied. Windows, macOS andrelease.yamlbuilds have been using Go 1.27.0, and the v1.13.3 Windows and macOS binaries are affected by GO-2026-6617 (HTTP/2 server crash from an HPACK encoder race, fixed in Go 1.27.2). Docker images and Linux static binaries already used the latest patch release.go.modandcaddy/go.modnow declarego 1.27, sogo-version-filegivessetup-gothe minor version andcheck-latestresolves the latest 1.27.x on every run.go mod tidykeeps this form.godirective or on anytoolchaindirective. Both pin CI to a release that goes stale,go getadds them back on its own, and Dependabot doesn't update them (dependabot/dependabot-core#9527).Unblocks #2729, which flags GO-2026-6617 while CI runs Go 1.27.0.