Skip to content

chore(deps): Go 1.26.8 → 1.27.1 - #758

Merged
bpalermo merged 1 commit into
mainfrom
upgrade/go-1.27
Sep 12, 2026
Merged

bpalermo merged 1 commit into
mainfrom
upgrade/go-1.27

Conversation

@bpalermo

@bpalermo bpalermo commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

Part 11/11 of the 2026-09-12 dependency-upgrade stack (top). Base: upgrade/website-deps. Audit of everything that was checked, including what is already current, is in the bottom PR #747.

Minor Go toolchain bump on top of the 1.26.8 patch bump earlier in this
stack: rules_go go_sdk.download, the go directive in go.mod, and the
three docs that quote the version (AGENTS.md, README.md, docs/runbook.md).
MODULE.bazel.lock carries the 1.27.1 SDK hashes.

Why it is safe with rules_go 0.63.0: the two Go 1.27 fixes in rules_go are
the cgo ldflags response-file escaping (bazel-contrib/rules_go#4641, merged
2026-07-02, in 0.63.0) and the nogo x/tools bump (#4701, merged 2026-08-31,
after 0.63.0). This repo has no cgo and does not enable nogo, so neither
path is exercised.

Go 1.27 behaviour changes reviewed against this codebase: no removed GODEBUG
setting (asynctimerchan, tlsrsakex, tls3des, tls10server, tlsunsafeekm,
x509keypairleaf, gotypesalias) is set anywhere; encoding/json is now backed
by the v2 implementation with the v1 API kept compatible; HTTP/1
Response.Body now auto-drains on Close (the prober already drains
explicitly); size-specialised small allocations are on by default.

Verified (all with --repo_env=GOPROXY=https://proxy.golang.org,direct):

  • bazel mod tidy lock updated for the 1.27.1 SDK only
  • bazel build //... OK (4999 actions)
  • bazel test //... --test_output=errors OK (99/99 pass, incl. testcontainers
    integration tests)
  • bazel run //:format.check OK
  • bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //... OK
  • bazel run //:gazelle no BUILD.bazel churn
  • go version bazel-bin/agent/cmd/agent/agent_/agent → go1.27.1

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Minor Go toolchain bump on top of the 1.26.8 patch bump earlier in this
stack: rules_go `go_sdk.download`, the `go` directive in go.mod, and the
three docs that quote the version (AGENTS.md, README.md, docs/runbook.md).
MODULE.bazel.lock carries the 1.27.1 SDK hashes.

Why it is safe with rules_go 0.63.0: the two Go 1.27 fixes in rules_go are
the cgo ldflags response-file escaping (bazel-contrib/rules_go#4641, merged
2026-07-02, in 0.63.0) and the nogo x/tools bump (#4701, merged 2026-08-31,
after 0.63.0). This repo has no cgo and does not enable nogo, so neither
path is exercised.

Go 1.27 behaviour changes reviewed against this codebase: no removed GODEBUG
setting (asynctimerchan, tlsrsakex, tls3des, tls10server, tlsunsafeekm,
x509keypairleaf, gotypesalias) is set anywhere; encoding/json is now backed
by the v2 implementation with the v1 API kept compatible; HTTP/1
Response.Body now auto-drains on Close (the prober already drains
explicitly); size-specialised small allocations are on by default.

Verified (all with --repo_env=GOPROXY=https://proxy.golang.org,direct):
- bazel mod tidy                        lock updated for the 1.27.1 SDK only
- bazel build //...                     OK (4999 actions)
- bazel test //... --test_output=errors OK (99/99 pass, incl. testcontainers
  integration tests)
- bazel run //:format.check             OK
- bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //... OK
- bazel run //:gazelle                  no BUILD.bazel churn
- `go version bazel-bin/agent/cmd/agent/agent_/agent` → go1.27.1

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit 2143ae4 into main Sep 12, 2026
18 checks passed
@bpalermo
bpalermo deleted the upgrade/go-1.27 branch September 12, 2026 21:50
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.

1 participant