Skip to content

chore: group Go toolchain version updates into a single PR#4042

Merged
olegsu merged 2 commits intomainfrom
group-go-version-updates
Mar 13, 2026
Merged

chore: group Go toolchain version updates into a single PR#4042
olegsu merged 2 commits intomainfrom
group-go-version-updates

Conversation

@olegsu
Copy link
Collaborator

@olegsu olegsu commented Mar 11, 2026

Summary

  • Add a custom Renovate manager to detect the .go-version file (no built-in manager picks it up)
  • Override go.mod's go directive versioning from go-mod-directive to semver so Renovate proposes minor version bumps
  • Group all Go toolchain updates (bin/hermit, .go-version, go.mod) into a single PR via groupName: "go-version"

Previously, Renovate only updated the hermit-managed Go binary in bin/, leaving .go-version and go.mod out of sync.

Test plan

  • Verified locally with renovate --platform=local dry-run: all 4 Go version updates (go.mod, scripts/update_assets_md/go.mod, bin/hermit, .go-version) resolve to the same renovate/go-version branch

Made with Cursor

Add custom manager to detect .go-version file, override go.mod
versioning to allow minor bumps, and group all Go toolchain updates
(hermit, .go-version, go.mod) into a single Renovate PR.
@olegsu olegsu requested a review from a team as a code owner March 11, 2026 21:02
@mergify mergify bot assigned olegsu Mar 11, 2026
@mergify
Copy link

mergify bot commented Mar 11, 2026

This pull request does not have a backport label. Could you fix it @olegsu? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@olegsu olegsu enabled auto-merge (squash) March 13, 2026 20:48
@olegsu olegsu disabled auto-merge March 13, 2026 20:51
@olegsu olegsu merged commit f52df8a into main Mar 13, 2026
7 of 9 checks passed
@olegsu olegsu deleted the group-go-version-updates branch March 13, 2026 20:51
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