Skip to content

chore: constrain Renovate to Go 1.24 to block transitive toolchain bumps#92

Merged
privateip merged 1 commit into
mainfrom
chore/renovate-go-constraints
May 23, 2026
Merged

chore: constrain Renovate to Go 1.24 to block transitive toolchain bumps#92
privateip merged 1 commit into
mainfrom
chore/renovate-go-constraints

Conversation

@privateip
Copy link
Copy Markdown
Contributor

Summary

  • Adds constraints.go = "1.24" to renovate.json
  • The existing rule disabling direct go directive updates didn't cover the case where a dep update (e.g. grpc v1.81.1) requires Go 1.25 in its own go.mod, causing go mod tidy to bump our go directive as a side effect
  • With constraints.go set, Renovate skips any module update whose new version requires Go > 1.24 — no indirect bumps possible
  • Closes fix(deps): update go dependencies #77 (the offending dep update PR that snuck in a go 1.24 → 1.25 bump)

Test plan

🤖 Generated with Claude Code

The existing rule disabling direct `go` directive updates didn't prevent
dep updates from bumping the `go` directive as a side effect of go mod
tidy resolving a transitive minimum version. Setting constraints.go tells
Renovate to skip any module update whose new version requires Go > 1.24.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@privateip privateip requested a review from a team as a code owner May 23, 2026 03:14
@privateip privateip requested a review from bmertens-datum May 23, 2026 03:14
@privateip privateip mentioned this pull request May 23, 2026
1 task
@privateip privateip requested a review from scotwells May 23, 2026 03:16
@privateip privateip merged commit d42dc17 into main May 23, 2026
6 checks passed
@privateip privateip deleted the chore/renovate-go-constraints branch May 23, 2026 03:39
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.

2 participants