Skip to content

ci: point dependabot at the bun ecosystem, not npm - #329

Merged
keonik merged 1 commit into
mainfrom
chore/dependabot-bun-ecosystem
Sep 3, 2026
Merged

keonik merged 1 commit into
mainfrom
chore/dependabot-bun-ecosystem

Conversation

@keonik

@keonik keonik commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Root cause of the three red dependabot PRs (#323, #325, #326).

What was wrong

The bun migration never updated .github/dependabot.yml, which still declared:

- package-ecosystem: npm

Dependabot has shipped a separate bun ecosystem since 2025-02-13 (GA changelog). npm runs the npm updater, which looks for package-lock.json or yarn.lock. This repo has neither — only bun.lock — so it bumped package.json and left the lockfile alone. Every resulting PR failed at the install step:

error: lockfile had changes, but lockfile is frozen
note: try re-running without --frozen-lockfile and commit the updated lockfile

That is all three of #323, #325, #326 — and it would have been every future bump too.

The two that passed (#324, #327) are the tell: both only widen a range (^11.9.0^11.16.0) that the already-locked version satisfies, so no lockfile change was needed and nothing was missing.

After this

Dependabot will regenerate these PRs with bun.lock included. The two open majors are worth closing and letting it re-raise properly rather than hand-patching the lockfile:

Caveat carried over from upstream

bun.lock updating is known to silently no-op in npm-workspace layouts (still open). This repo is a single package, so it is not affected — worth remembering if that ever changes.

The bun migration left this at `package-ecosystem: npm`. Dependabot has
had a separate `bun` ecosystem since 2025-02-13, and the npm updater
only knows package-lock.json and yarn.lock — with neither present it
bumped package.json and never wrote bun.lock, so every version bump
arrived half-finished and CI rejected it:

    error: lockfile had changes, but lockfile is frozen

That is #323, #325 and #326. The two that passed (#324, #327) only
widened a range the locked version already satisfied, so the lockfile
genuinely needed no change.
@keonik keonik added the skip-changeset PR intentionally needs no changeset (docs/CI only) label Sep 3, 2026
@keonik
keonik merged commit 4b29b0b into main Sep 3, 2026
26 checks passed
@keonik
keonik deleted the chore/dependabot-bun-ecosystem branch September 3, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changeset PR intentionally needs no changeset (docs/CI only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant