build: move the BFF's Go toolchain to 1.27.1 - #26
Merged
Merged
Conversation
Step 3 of the toolchain review. The pin moves from 1.26.8 to 1.27.1: the toolchain line in go.mod, the golang image in the Dockerfile where there is one, explicit CI versions, and the docs that state the pin. CI's drift check keeps them equal. The go line is unchanged at 1.25.x. That line, not the toolchain, sets GODEBUG defaults, so the defaults Go 1.26 and 1.27 changed (cryptocustomrand, tlssecpmlkem, urlstrictcolons, tracebacklabels, x509sslcertoverrideplatform) keep their previous behaviour until the go line is raised on purpose. Verified on go1.27.1: build, vet, golangci-lint v2.14.0 built with go1.27.1 (0 issues, caps off), and go test -race green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GKRxaeYxyDhmt42cehLsGA
This was referenced Sep 27, 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.
Step 3 of the toolchain review: Go 1.26.8 → 1.27.1.
bff/go.mod:toolchain go1.27.1.bff/Dockerfile:golang:1.27.1-alpine.SECURITY.mdstates the new pin.CI reads
bff/go.mod, and #24's drift check fails the build if CI and the Dockerfile disagree.The
go 1.25.0line is unchanged, so GODEBUG defaults stay those of Go 1.25. Defaults that newer Go versions changed aren't adopted by this PR.Verification (local, go1.27.1):
go vet· golangci-lint v2.14.0 built with go1.27.1: 0 issues (thebff-lintjob from #25) ·go test -race ./...green. I couldn't verify locally thatgolang:1.27.1-alpinepulls.Siblings: ovander/go-oauth2#249, ovander/backendkit#53, ovander/oauth2-monitoring#37.
🤖 Generated with Claude Code
https://claude.ai/code/session_01GKRxaeYxyDhmt42cehLsGA
Generated by Claude Code