Repository navigation
Description
Problem
Dependabot bumps of dev dependencies (for example vitest 5.0.2 → 5.0.3, eslint 10.11 → 10.12, @cldmv/vitest-runner 1.5.1 → 1.5.3) are merged into next by dependabot-auto-merge.yml. Each merge puts next ahead of master, so next-release.yml opens or refreshes the persistent next → master release PR, adds a chore: bump version to X.Y.Z commit, and titles the PR after the bump commit.
Nothing the package ships has changed in these ranges, but each one is treated as a release:
- the release PR is open and mergeable, so it can publish a version that differs from the previous one only in
devDependencies; - release-notes tooling (the release-docs sweep,
report_release_prs) gives it the verdictwrite, so every one carries a changelog obligation.
Evidence (2026-10-08)
27 next → master release PRs were open at once. All 21 in non-dev-trunk repos were created by dev-dependency bumps, for example fix-headers #139, configs #26, uuid #63 and envm #45. Six more are in dev-trunk repos, where the scaffold next collects the same bumps.
Why it repeats: a dev-only cycle
Six packages dev-depend on each other: fix-headers, configs, vitest-runner, jsonv, eslint-plugin-jsonv and prettier-plugin-jsonv (for example fix-headers → configs → fix-headers; jsonv dev-depends on both plugins while the plugins peer-depend on jsonv). Every publish from one of them opens bump PRs in the other five and in every consumer; each of those merges and cuts a patch release, which publishes again. fix-headers 2.2.1 and configs 1.2.4 were both releases whose only change was the other's bump.
A check of the published manifests found no cycle over runtime, peer or optional dependencies, so installs are unaffected. The cycle exists only through devDependencies.
Constraint
The bumps themselves must keep landing on next (toolchain currency, security fixes). Nothing extra should be added to master, and a version should not be published just to carry them. They can sit on next and ride along with the next real change, which is effectively what happens when nobody merges these release PRs today.
Proposal
- Classify a pending range as deps-only when every commit between
masterandnextis a dependency or tooling bump that does not touch the published artifact: onlydevDependencies, lockfiles and CI configuration changed, anddependencies,peerDependencies,optionalDependencies,files,exportsand the shipped source are untouched. - For a deps-only range, keep the release PR from becoming a ready-to-merge release. Hold it as a draft, or label it (for example
release: deps-only) and exclude it from therelease-mergeauto-merge gate, so it cannot publish a no-op version by accident. - Expose the classification to tooling: a
deps-onlyverdict in the release-PR analysis, so a changelog is not demanded until a real change joins the range. - When a real change joins, the PR becomes a normal release and the accumulated dev bumps are listed under the changelog's Dependencies section, as they are now.
Not proposed
Skipping or delaying the dependency bumps, retargeting Dependabot away from next, or committing anything directly to master.
Open questions
- How to decide generically that the published artifact is unchanged: compare the manifest fields listed above, or compare
npm pack --dry-runoutput? - Whether the version-bump commit should also be skipped for a deps-only range, so
nextdoes not keep incrementing its version. - Dev-trunk repos see the same release PRs on their scaffold
next; the same classification would apply there.
Activity
feat(release): hold deps-only release PRs instead of offering them as…
cldmv-bot commentedon Oct 12, 2026
Marked
status: implemented— resolved by #374, merged intonext. This issue closes automatically when that work ships to the default branch.cldmv-bot commentedon Oct 12, 2026
Closed in v4.33.0 — resolved by #374.