Skip to content

chore(ci): split Dependabot npm groups by update-type - #717

Merged
NilsR0711 merged 1 commit into
mainfrom
chore/690-split-dependabot-groups
Sep 2, 2026
Merged

NilsR0711 merged 1 commit into
mainfrom
chore/690-split-dependabot-groups

Conversation

@NilsR0711

Copy link
Copy Markdown
Owner

Summary

production-dependencies and development-dependencies each grouped every npm update into a single all-or-nothing PR. As #688 showed, one uninstallable member (the typescript 6 -> 7 bump, blocked by typescript-eslint's peer range) took down 8 unrelated, perfectly mergeable updates for a full week.

Splits each group by update-types so majors travel on their own:

  • production-minor-patch / production-major
  • development-minor-patch / development-major

Low-risk minor/patch batches stay auto-mergeable; majors land in their own PR where a blocked install stops nothing else.

The ignore entries for typescript majors (#426) and @playwright/test (#691, handled separately) are left untouched, as is the github-actions group.

Test plan

This is a config-only change to .github/dependabot.yml; there is no application code path to exercise, so TDD is limited to a static guard test rather than a red/green behavioral cycle:

  • Added test/dependabot-config.test.mjs asserting the four groups exist with the exact expected dependency-type/update-types pairs, the old undifferentiated groups are gone, and the typescript/@playwright/test ignore entries are unchanged
  • npm run format, npm run lint, npm run typecheck, npm run test all pass locally (2061 tests, including the 3 new ones)
  • Verified against the Dependabot config schema: groups.<name>.update-types accepts major/minor/patch (distinct from the ignore[].update-types version-update:semver-* values, which are untouched)

Closes #690

production-dependencies and development-dependencies each grouped every
npm update into a single all-or-nothing PR: one uninstallable member (the
typescript 6->7 bump in #688) blocked every other update in the group for
a full week. Split each into a minor-patch group and a major group so a
blocked major no longer holds back low-risk updates that ship alongside
it.

The existing ignore entries for typescript majors and @playwright/test
are left untouched. Adds a guard test asserting the four groups and
verifying the ignore entries survive the split.
@NilsR0711
NilsR0711 merged commit 177effb into main Sep 2, 2026
16 checks passed
@NilsR0711
NilsR0711 deleted the chore/690-split-dependabot-groups branch September 2, 2026 10:16
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.

chore(ci): split Dependabot npm groups so one blocked major cannot hold back the rest

1 participant