Repository navigation
chore: Build on the Go 1.27 toolchain - #323
Merged
Merged
Conversation
Go 1.26 stops getting security fixes when Go 1.28 ships in February 2027. Building on 1.27 now keeps the binaries patched and the fleet on one Go line. Key features/changes: - Move the build images to golang:1.27 - Add a go.mod toolchain line, which actions/setup-go uses over the go line, so CI also builds and tests on 1.27 - Move golangci-lint to v2.15.0, which can type-check the Go 1.27 standard library - Leave the go line unchanged, so the binaries keep their current GODEBUG runtime defaults; raising it is a separate change
ecv
marked this pull request as ready for review
November 2, 2026 19:34
ecv
enabled auto-merge
November 2, 2026 19:34
kevwilliams
approved these changes
Nov 2, 2026
kevwilliams
left a comment
Contributor
There was a problem hiding this comment.
Verified all four CI runs set up Go 1.27.3 from the toolchain line and no Go 1.26 pin remains in any image or workflow.
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.
Summary
Go 1.26 stops getting security fixes in February 2027. This builds and tests on Go 1.27 with runtime behaviour unchanged: the go.mod
goline stays at 1.26.0, so the binaries keep their current GODEBUG defaults.golang:1.27toolchain go1.27.3, whichactions/setup-go(go-version-file: go.mod) uses over thegolineThis is step 1 of https://github.com/datum-cloud/infra/issues/8340 per https://github.com/datum-cloud/infra/blob/main/docs/upgrades/go.md. Raising the
goline is step 2 and ships separately.golangci-lint run ./...(v2.15.0) reports 0 issues, so no lint exclusions were needed.Test plan
Related to #322