Skip to content

feat: track the go.mod go directive in Renovate#52

Merged
cplieger merged 1 commit into
mainfrom
chore/renovate-track-go-directive
Jul 8, 2026
Merged

feat: track the go.mod go directive in Renovate#52
cplieger merged 1 commit into
mainfrom
chore/renovate-track-go-directive

Conversation

@cplieger

@cplieger cplieger commented Jul 8, 2026

Copy link
Copy Markdown
Owner

feat: track the go.mod go directive in Renovate

Renovate's built-in gomod manager deliberately does not bump the bare go.mod
go directive (it treats go 1.26.4 as a >= minimum-version constraint), so
a Go stdlib CVE fix never reaches go.mod and the go-ci govulncheck step keeps
failing until a manual bump. Observed 2026-07: go.mod was stuck at 1.26.4
fleet-wide (GO-2026-5856, the crypto/tls ECH leak, fixed in go1.26.5) while the
Dockerfile ARG GO_VERSION had already advanced via the existing customManager.

Add a customManager that tracks the go X.Y.Z directive via the golang-version
datasource, grouped with the existing "golang toolchain" rule so it lands in
one PR with any Dockerfile GO_VERSION bump. Minor/patch auto-merge, majors gated.

Renovate's built-in gomod manager deliberately does not bump the bare go.mod
`go` directive (it treats `go 1.26.4` as a >= minimum-version constraint), so
a Go stdlib CVE fix never reaches go.mod and the go-ci govulncheck step keeps
failing until a manual bump. Observed 2026-07: go.mod was stuck at 1.26.4
fleet-wide (GO-2026-5856, the crypto/tls ECH leak, fixed in go1.26.5) while the
Dockerfile ARG GO_VERSION had already advanced via the existing customManager.

Add a customManager that tracks the `go X.Y.Z` directive via the golang-version
datasource, grouped with the existing "golang toolchain" rule so it lands in
one PR with any Dockerfile GO_VERSION bump. Minor/patch auto-merge, majors gated.
@cplieger cplieger enabled auto-merge (rebase) July 8, 2026 17:26
@cplieger cplieger merged commit b0a6c38 into main Jul 8, 2026
10 checks passed
@cplieger cplieger deleted the chore/renovate-track-go-directive branch July 8, 2026 17:29
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