← Back to Pull requests

Add Renovate config (Gradle + Docker) #358

Closed
unknown closed this pull request without merging on Jul 24, 2026 12:46 UTC
View on GitHub
unknown unknown commented on Jul 21, 2026 02:03 UTC
Author

Supersedes the Dependabot approach in #356.

Summary

Adds renovate.json to configure Renovate for dependency updates. No custom workflow is needed — Renovate maintains the Gradle dependency-verification metadata itself (see below).

renovate.json

  • Base: config:recommended

  • Schedule: monthly, America/New_York

  • minimumReleaseAge: "2 days" — waits before opening a PR (skips yanked/broken releases)

  • Grouping by coherent project family, keyed deep so unrelated org.apache. projects stay separate (org.apache.commons, org.apache.logging.log4j, …): aws-sdk, jetty, jersey, jackson, netty, log4j, apache-commons, test-tooling, plus a catch-all all-minor-and-patch. Rule order accounts for Renovate's last-match-wins merge so family groups aren't swallowed by the catch-all.

  • Noise/safety: prConcurrentLimit: 10, prHourlyLimit: 2, ecosystem labels (java/docker), semantic commits, dependencyDashboard, osvVulnerabilityAlerts

  • Majors require Dependency Dashboard approval (major.dependencyDashboardApproval: true)

  • automerge: false — never automerge

  • Docker Dockerfile handled automatically by Renovate's dockerfile manager
  • Gradle dependency verification — handled by Renovate, no workflow

    This repo enforces gradle/verification-metadata.xml (verify-metadata=true). Renovate's Gradle manager detects that and runs ./gradlew --write-verification-metadata sha256 dependencies, committing the refreshed checksums in its own PR.

    This was verified empirically on a live Mend-hosted fork: on a genuinely-needed update (org.eclipse.jetty:jetty-http → 10.0.0), Renovate committed the catalog bump and the new jar/pom/parent-POM checksums in a single renovate[bot] commit (origin="Generated by Gradle"), with no helper workflow present. An earlier draft of this PR carried a split-privilege regen workflow; it turned out to be unnecessary (it only looked* required because its push-triggered commit raced Renovate's own artifact update). That workflow has been removed.

    ⚠️ Manual configuration (repo admin)

    1. Install the Mend Renovate GitHub App on the repo and merge its onboarding PR.
    2. Labels dependencies / java / docker already exist — no action.
    3. No dependabot.yml exists on main; ensure no org-level Dependabot config double-runs updates.

    🤖 Generated with Claude Code

    Diff: 305 lines (+228 / -77) across 3 files Reviewer: kpalang Review duration: 4963m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.63) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 305 lines diff across 3 files
    0.63
    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%
    56%
    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.342
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #358"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    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: 63.3% (MEDIUM) · Higher = larger blast radius
    63.3%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 27.4% · Safe to merge
    27.4%