Skip to content

chore: bump Go to 1.27.2 - #4562

Merged
aheritier merged 2 commits into
docker:mainfrom
dgageot:worktree-board-43ca68a76e59d9f1
Oct 9, 2026
Merged

aheritier merged 2 commits into
docker:mainfrom
dgageot:worktree-board-43ca68a76e59d9f1

Conversation

@dgageot

@dgageot dgageot commented Oct 9, 2026

Copy link
Copy Markdown
Member

This bumps the project's Go toolchain to 1.27.2, in go.mod and in the Dockerfile's GO_VERSION, to pick up the latest point release.

golangci-lint 2.13.2 can't read the export data produced by Go 1.27.2, so CI is updated to golangci-lint v2.14.0, and docs/community/contributing/index.md is updated to document the new minimum linter version. cmd/root/doctor.go switches two constant CLI command strings to %#q formatting to match the output golangci-lint now expects, with cmd/root/doctor_test.go strengthened to cover it. pkg/protect/encrypt.go gets a line-scoped gosec G407 suppression for NewGCMWithRandomNonce, which generates its nonce internally; this is a false positive and there is no cryptographic behavior change.

Verified locally under GOTOOLCHAIN=go1.27.2 with task build, task test, and task lint (golangci-lint v2.14.0), plus scripts/workflow-lint.sh and actionlint on .github/workflows/ci.yml.

golangci-lint 2.13.2 can't read export data from Go 1.27.2, so bump CI
to 2.14.0 and document the minimum version. Also quiets the gosec
G407 false positive on NewGCMWithRandomNonce and tweaks the doctor
command-quoting output/tests to match.

Assisted-By: cagent
Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot
dgageot requested a review from a team as a code owner October 9, 2026 10:13
@aheritier aheritier added area/ci CI/CD workflows and pipeline area/cli CLI commands, flags, output formatting area/deps Dependency updates and version bumps area/distribution Agent registry, packaging, distribution, sharing area/docs Documentation changes area/security Authentication, authorization, secrets, vulnerabilities kind/chore Maintenance, deps, CI, tooling (maps to chore: commit prefix) labels Oct 9, 2026
@aheritier
aheritier added this pull request to the merge queue Oct 9, 2026
Merged via the queue into docker:main with commit 5277e78 Oct 9, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci CI/CD workflows and pipeline area/cli CLI commands, flags, output formatting area/deps Dependency updates and version bumps area/distribution Agent registry, packaging, distribution, sharing area/docs Documentation changes area/security Authentication, authorization, secrets, vulnerabilities kind/chore Maintenance, deps, CI, tooling (maps to chore: commit prefix)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants