Let version catalog refs decide Renovate grouping #553
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.47) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 492 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.371
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #553"
general
weight: 0.35
pacmano1
Summary
This PR simplifies Renovate's grouping to one rule: each
[versions]ref ingradle/libs.versions.tomlis updated as one PR, and nothing else is grouped.renovate.jsonignores Renovate's built-ingroup:monorepospreset and drops everygroupNamerule.CONTRIBUTING.mddocuments the rule, and the catalog comment points to it.The first version of this PR removed some groups and added a Guava versioning rule. @pacmano1's review showed both were wrong, and I've replaced them with this change.
Why the groups were a problem
Renovate's Gradle manager records each catalog entry's
version.refand uses it as the group name when no rule sets one, so a ref already updates as one branch. Two other behaviors interfere with that:config:recommendedincludesgroup:monorepos, which puts Jetty, Jackson, Netty, Log4j2, Jersey, Mockito, jaxb-ri and slf4j into "… monorepo" groups.groupNameto null and fall back to the ref name.So whenever a family's normal updates get a group name that differs from the ref name, a jar with an OSV advisory lands on
renovate/<ref>and the rest of the family onrenovate/<group>, and both branches rewrite the same catalog line. Renovate logs "Found sourceUrl with multiple branches that should probably be combined into a group" when this happens.Our
jetty,jackson,nettyandlog4jgroups only avoided this because their names happen to equal the refs. That doesn't work for refs with a dash, whose branch names become dotted (jaxb-ri→renovate/jaxb.ri). It also can't work for a group that spans several refs. Before this PR, these were exposed to the split:jaxb-riandslf4j, throughgroup:monorepos.awssdk(inaws-sdk),mockitoandbyte-buddy(intest-tooling),hk2(injersey) andjaxws-ri(insun-xml), through our own multi-ref groups.openhtmltopdf: thepdfboxgroup'spdfboxpattern pulledopenhtmltopdf-pdfboxaway fromopenhtmltopdf-core.Trade-off
Artifacts on literal versions, such as the Apache Commons and Metro jars that
apache-commonsandsun-xmlbundled, now get one PR each. Grouping never kept those compatible anyway: each update in a group moves to its own latest version. If artifacts really must move together, they belong on one ref.In the local run below, PR-producing branches went from 59 to 82, and major-only branches (which wait for dashboard approval) from 31 to 40. That's the initial backlog.
prConcurrentLimit,prHourlyLimitand the monthly schedule still pace them.Guava
#522's
-androidproblem is already fixed in Renovate:config:recommendedincludesworkarounds:guavaVariantssince Renovate 44.195.0, so #522 should switch to33.7.2-jreon its next run without any change from us.Testing
Claude ran Renovate 44.199.0 locally (
--platform=local, OSV alerts on, as in @pacmano1's review) againstmainand against this branch, and compared the branches:major-branch, and no branch updates more than one ref.jetty-http's advisory update lands onrenovate/jettywith the other Jetty jars. Jackson, Netty and Log4j go torenovate/jackson,renovate/nettyandrenovate/log4j.main, thepdfboxbranch also updates theopenhtmltopdfref, as described above.javax.json-api/javax.jsonandpolicy/jaxws-tools, which are on different versions and so can't share a ref.main. GitHub Actions updates didn't appear in the local run (it had no GitHub token), so those weren't compared.Also:
renovate-config-validator --strict --no-global renovate.jsonpasses../gradlew clean build -PdisableSigning=truepasses.---
🤖 Drafted with Claude Code