← Back to Pull requests

Let version catalog refs decide Renovate grouping #553

Closed
unknown closed this pull request without merging on Nov 10, 2026 15:34 UTC
View on GitHub
unknown unknown commented on Nov 01, 2026 18:05 UTC
Author

Summary

This PR simplifies Renovate's grouping to one rule: each [versions] ref in gradle/libs.versions.toml is updated as one PR, and nothing else is grouped. renovate.json ignores Renovate's built-in group:monorepos preset and drops every groupName rule. CONTRIBUTING.md documents 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.ref and 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:recommended includes group:monorepos, which puts Jetty, Jackson, Netty, Log4j2, Jersey, Mockito, jaxb-ri and slf4j into "… monorepo" groups.

  • Vulnerability-alert updates reset groupName to 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 on renovate/<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, netty and log4j groups 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-ri and slf4j, through group:monorepos.

  • awssdk (in aws-sdk), mockito and byte-buddy (in test-tooling), hk2 (in jersey) and jaxws-ri (in sun-xml), through our own multi-ref groups.

  • openhtmltopdf: the pdfbox group's pdfbox pattern pulled openhtmltopdf-pdfbox away from openhtmltopdf-core.
  • Trade-off

    Artifacts on literal versions, such as the Apache Commons and Metro jars that apache-commons and sun-xml bundled, 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, prHourlyLimit and the monthly schedule still pace them.

    Guava

    #522's -android problem is already fixed in Renovate: config:recommended includes workarounds:guavaVariants since Renovate 44.195.0, so #522 should switch to 33.7.2-jre on 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) against main and against this branch, and compared the branches:

  • On this branch, every ref goes to exactly one branch plus its major- branch, and no branch updates more than one ref.

  • jetty-http's advisory update lands on renovate/jetty with the other Jetty jars. Jackson, Netty and Log4j go to renovate/jackson, renovate/netty and renovate/log4j.

  • On main, the pdfbox branch also updates the openhtmltopdf ref, as described above.

  • The only remaining "multiple branches" warnings are for javax.json-api/javax.json and policy/jaxws-tools, which are on different versions and so can't share a ref.

  • Dockerfile and Gradle wrapper branches are the same as on 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.json passes.

  • ./gradlew clean build -PdisableSigning=true passes.
  • ---
    🤖 Drafted with Claude Code

    Diff: 492 lines (+369 / -123) across 6 files Reviewer: pacmano1 Review duration: 12809m
    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
    0.47
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 47.4% (MEDIUM) · Higher = larger blast radius
    47.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.7% · Safe to merge
    18.7%