feat(renovate): remove custom branchName for genai-toolbox updates #445
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the Renovate configuration to enable the auto-closing of older, superseded PRs for the
genai-toolboxdependency.Context
Previously, the
packageRulesforgoogleapis/genai-toolboxincluded a custombranchName(auto-update/toolbox-server-v{{newValue}}). While providing version-specific branches, this setup prevented Renovate's automated cleanup. Specifically, when a newer minor or patch version of genai-toolbox was released before an existing Renovate PR for an older version was merged, Renovate would not automatically close the superseded PR. This led to a build-up of obsolete Pull Requests.This was caused by the direct usage of
branchNamein the configuration, which prevented Renovate from recognizing that the newer branch superseded the older one.Changes
"branchName"field from the packageRules block matching "googleapis/genai-toolbox"."group:allNonMajor"is included in the extends, these updates will be consolidated into a single default branch, typically namedrenovate/all-minor-patch.configMigration: trueto allow Renovate to suggest migrations for other deprecated fields in a separate PR."commitMessageTopic": "MCP Toolbox server version in integration tests", will continue to clearly indicate that the PR is updating the MCP Toolbox server version.This change will ensure a cleaner PR workflow for
genai-toolboxupdates going forward.