Skip to content

chore(deps): optimize Renovate and Dependabot coverage - #413

Merged
AlexanderWagnerDev merged 1 commit into
mainfrom
chore/dependency-management-v2
Dec 3, 2026
Merged

AlexanderWagnerDev merged 1 commit into
mainfrom
chore/dependency-management-v2

Conversation

@AlexanderWagnerDev

@AlexanderWagnerDev AlexanderWagnerDev commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Renovate is the only bot that opens version-update PRs and also handles security updates. Dependabot is reduced to security updates only.
  • Removes the remaining release delays, inherited grouping presets and PR throttles.
  • Extends Renovate branch coverage.

Changes

renovate.json

  • dependencyDashboard stays enabled; dependencyDashboardApproval: false so major updates open PRs without dashboard approval.
  • vulnerabilityAlerts.enabled: true and osvVulnerabilityAlerts: true.
  • minimumReleaseAge: null, prCreation: "immediate", prHourlyLimit: 0.
  • lockFileMaintenance.enabled: true retained.
  • Inherited grouping presets group:monorepos and group:recommended disabled via ignorePresets.
  • Removed the local GitHub Actions and Container images grouping rules. Normal updates now produce one PR per dependency.
  • baseBranchPatterns extended with /^ci\//.
  • The OpenRaft crates group is kept because those crates must stay on the same version.

.github/dependabot.yml

  • Added the agreed header comment.
  • open-pull-requests-limit: 0 on every entry, so Dependabot only opens security PRs.
  • Removed the github-actions grouping block.
  • Kept github-actions, docker, docker-compose and cargo at /.
  • No cooldown, no target-branch.

Validation

  • renovate-config-validator --strict (Renovate 45.14.1): config validated successfully.
  • renovate --print-config (local platform): resolved config shows dependencyDashboardApproval: false, prHourlyLimit: 0, prCreation: immediate, osvVulnerabilityAlerts: true, minimumReleaseAge: null. The only remaining project-specific group is OpenRaft crates.
  • Dependency extraction (--dry-run=lookup, local platform): cargo 1 file / 31 deps, dockerfile 1 file / 14 deps, docker-compose 1 file / 0 deps (own image only), github-actions 7 files / 57 deps.
  • Dependabot YAML parsed and checked: unique (ecosystem, directory) pairs, limit 0 on all entries, no cooldown, no target-branch.
  • git diff --check: clean.

Branch coverage

Renovate: $default, master, develop, development, dev, staging, production, preview, beta, alpha, nightly, release/*, maintenance/*, stable/*, feature/*, feat/*, fix/*, hotfix/*, ci/*.

Dependabot: default branch only, security updates only. Local unpublished branches are not reachable by hosted bots and were not published.

Removed delays

No minimumReleaseAge, schedule, prCreation delay or prHourlyLimit throttle remains in the resolved Renovate config. No Dependabot cooldown block remains.

Risks and limitations

  • Removing release-age buffers increases supply-chain exposure for freshly published releases. SHA pins, lockfile hashes, signatures and CI checks are unchanged.
  • A real bot run only starts after this PR is merged.
  • MEDIAMTX_VERSION, SRS_REF, LIVEFORGE_REF, NGINX_REF and NGINX_RTMP_REF in the benchmark workflow stay pinned on purpose as comparison baselines.

Summary by CodeRabbit

  • Chores
    • Updated automated dependency maintenance: routine version updates are handled by Renovate, while Dependabot is limited to security updates.
    • Enabled Renovate’s dependency dashboard and vulnerability alerts, including OSV alerts. Renovate can now create pull requests without an hourly limit and recognizes CI branches.
    • Removed broad grouping rules for GitHub Actions and container images; the OpenRaft grouping remains.

@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with chore(deps):, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T20:44:58.748446Z 22cdcdd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request changes Dependabot and Renovate configuration. Dependabot is limited to zero open pull requests for four ecosystems. Renovate gains updated dashboard, alert, pull request, branch, and package grouping settings.

Changes: Dependency update automation

Layer / File(s) Summary
Set Dependabot pull request limits
.github/dependabot.yml
Sets the open pull request limit to 0 for GitHub Actions, Docker, Docker Compose, and Cargo. Removes the GitHub Actions grouping rule. A comment assigns version updates to Renovate and security updates to Dependabot.
Update Renovate behavior
renovate.json
Ignores the group:monorepos and group:recommended presets, enables the dependency dashboard and vulnerability alerts, disables dashboard approval, and sets immediate pull request creation with no hourly limit. Adds ci branches to the base-branch patterns. Removes GitHub Actions and container-image grouping rules; retains the OpenRaft grouping rule.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related issues

  • Dependency Dashboard #112: This issue concerns the Renovate Dependency Dashboard, whose approval and update behavior is affected by the configuration changes.

Possibly related PRs

  • OpenRTMP/librtmp2-server#373: This PR changes Dependabot pull request settings in the same configuration file and affects the same ecosystem entries.
Merge Risk: Minimal · up to 22cdc

This change makes Renovate the only bot opening version-update PRs and keeps security updates in both bots. No concrete problem was found. Without a release-age buffer, new releases may be proposed sooner, which is an intended tradeoff.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore(deps): optimize Renovate and Dependabot coverage" matches the main change. The PR makes Renovate the only bot that opens version-update PRs, limits Dependabot to security updates, and…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(deps): optimize Renovate and Dependabot coverage" matches the main change. The PR makes Renovate the only bot that opens version-update PRs, limits Dependabot to security updates, and reworks Renovate grouping, alerts, and branch coverage. The title is specific and follows the conventional-commit style. It does not list every detail, which is expected.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1b19a5b3-dcfb-4547-982e-e594d21b488e
Commits

Reviewing files that changed from the base of the PR and between 954803e and 22cdcdd.

Files selected for processing: 2

  • .github/dependabot.yml
  • renovate.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

@AlexanderWagnerDev
AlexanderWagnerDev merged commit b4a6263 into main Dec 3, 2026
20 checks passed
@AlexanderWagnerDev
AlexanderWagnerDev deleted the chore/dependency-management-v2 branch December 3, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant