← Back to Pull requests

Add Dependabot config (Gradle + Docker) with grouping and verification-metadata automation #356

Closed
unknown closed this pull request without merging on Jul 22, 2026 13:20 UTC
View on GitHub
unknown unknown commented on Jul 17, 2026 14:45 UTC
Author

Summary

Adds Dependabot dependency updates for this project, plus a workflow to keep them compatible with the repo's Gradle dependency verification.

  • .github/dependabot.yml — config schema version: 2

  • - Ecosystems: gradle (root /, covers the multi-module build via the central gradle/libs.versions.toml catalog) and docker (the root Dockerfile)
    - Schedule: monthly for both
    - Grouping: related artifacts are bundled into one PR, keyed at the coherent-project level. org.apache. is deliberately split (org.apache.commons, org.apache.logging.log4j, …) because it spans unrelated projects (Derby, PDFBox, Velocity, HttpComponents). Groups: aws-sdk, jetty, jersey, jackson, netty, log4j, apache-commons, test-tooling, and a catch-all all-minor-and-patch
    - Noise controls: open-pull-requests-limit (10 gradle / 5 docker), labels, commit-message prefixes
  • .github/workflows/dependabot-verification-metadata.yaml — Dependabot cannot update gradle/verification-metadata.xml (dependabot-core#1996), so its Gradle bumps would fail CI on stale checksums. On dependabot/gradle/ branches this workflow regenerates the metadata with a cold cache (per CONTRIBUTING.md), validates the build in the same run, and commits the refreshed file back to the PR.
  • ⚠️ Manual configuration required (by a repo admin)

    These cannot be done from the PR and are needed for the config to behave as described:

    1. Create the labels (Dependabot only auto-creates its own defaults; custom labels that don't exist are silently dropped, so PRs would arrive unlabeled):

       gh label create dependencies -c "#0366d6" -d "Dependency updates" --repo OpenIntegrationEngine/engine
       gh label create java         -c "#b07219" -d "Java / Gradle dependencies" --repo OpenIntegrationEngine/engine
       gh label create docker        -c "#1d63ed" -d "Docker base image updates" --repo OpenIntegrationEngine/engine
       

    2.
    Enable Dependabot version updates
    for the repo if not already on: Settings → Code security → Dependabot → Dependency graph + Dependabot version updates. The config file only governs how updates run once the feature is enabled.
    3. Give Actions write permission so the metadata workflow can push its commit:
    Settings → Actions → General → Workflow permissions → "Read and write permissions."*
    4. (Recommended) Make the metadata workflow a required status check on Dependabot PRs via branch protection. A push made with the default GITHUB_TOKEN does not re-trigger build.yaml, so the regen workflow is the authoritative green check for Gradle bumps (it runs the full build itself). If you'd rather have build.yaml re-run, swap the workflow's push to use a PAT/App token instead of GITHUB_TOKEN.

    Notes / follow-ups

  • netty inline pin: server/build.gradle pins netty-transport-native-epoll inline with a linux-x86_64 classifier (the catalog can't express it), so a grouped netty bump won't touch that line — watch for drift on the first netty PR.

  • A github-actions ecosystem entry would be a reasonable follow-up to keep workflow action versions current.
  • 🤖 Generated with Claude Code

    Diff: 417 lines (+312 / -105) across 5 files Reviewer: gibson9583 Review duration: 7115m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.68 · 417 lines diff across 5 files
    0.68
    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.361
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.068
    Real PR Conversation Timeline
    1 comments
    "Review active on #356"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 68.1% (HIGH) · Higher = larger blast radius
    68.1%
    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: 26.9% · Safe to merge
    26.9%