#4370·mcp

Watch: Dependabot group-by:dependency-name not collapsing cross-directory PRs (upstream dependabot-core#14286)

Author: scottschreckengaustCreated Jul 28, 2026Updated Sep 27, 2026
Labelsstale

Summary

Track the upstream Dependabot regression that prevents group-by: dependency-name from collapsing version-update PRs across directories, so we can drop our interim throttles once it's fixed.

Background

PR #4267 added group-by: dependency-name to the uv, npm, and docker groups in .github/dependabot.yml to collapse a single dependency's bump across all package directories into one PR (instead of one PR per directory). The config is valid and correct per GitHub's docs, but it is not working — Dependabot still opens one PR per directory.

Evidence (all opened well after #4267 merged 2026-07-16):

  • gitpython 3.1.54 → #4357, #4358, #4359 (three PRs; #4358/#4359 are byte-identical 3.1.44 → 3.1.54 bumps that a working group-by would have merged into one)
  • setuptools 80.10.2 → 83.0.0 → #4303, #4305, #4306, #4309, #4310 (five PRs)
  • pillow 12.1.1 → 12.3.0 → #4292, #4293, #4294, #4295 (four PRs, identical from→to versions)

The tell is the PR title: ours read bump <dep> ... in /<dir> — Dependabot's individual/ungrouped format. A working group-by yields bump the <group>/<dep> group across N directories (which we do see for ecosystems that don't use group-by, e.g. #4339 "the pip group across 2 directories", #4327 "the github-actions-version-updates group").

Root cause (upstream, not our config)

  • group-by: dependency-name is a valid schema key and went default-on when its feature flag was removed in dependabot/dependabot-core#14292 (merged 2026-02-27).
  • Open upstream bug dependabot/dependabot-core#14286 — "group-by: individual PRs are now created for each dependency within a group, not for the whole group" — reproduces our exact symptom. Notably it repros with explicitly enumerated directories, not just a **/* glob, so rewriting our directories: ["**/*"] to an explicit list is not guaranteed to fix it.

Interim mitigation (this repo)

Since the feature we rely on is broken upstream, PR #4371 adds throttles that don't depend on it, to the uv/npm/docker (and github-actions) entries:

  • open-pull-requests-limit: 10 — caps the open queue (default is only 5; a large release like the earlier mcp bump produced ~57 PRs — see #4258)
  • cooldown: { default-days: 7 } — lets churny releases settle before a PR is raised

We are intentionally not lengthening schedule.interval (kept weekly), and not bulk-closing the current backlog (manageable, handled manually).

What "done" looks like

  • dependabot/dependabot-core#14286 is fixed and released
  • Confirm a real multi-directory bump collapses into a single PR (title = bump the <group>/<dep> group across N directories)
  • Revisit / relax the interim open-pull-requests-limit and cooldown throttles added in PR #4371 if desired

References

  • Attempted fix: #4267
  • Consolidation of a specific bump: #4258
  • Upstream tracking: dependabot/dependabot-core#14286 (bug), dependabot/dependabot-core#14292 (flag removal), dependabot/dependabot-core#13284 / #14046 / #14008 (feature work)