Skip to content

ci: pin bun to 1.3.14 in the quality gate - #585

Merged
Aymericr merged 1 commit into
mainfrom
ci/pin-bun-version
Aug 4, 2026
Merged

ci: pin bun to 1.3.14 in the quality gate#585
Aymericr merged 1 commit into
mainfrom
ci/pin-bun-version

Conversation

@Aymericr

@Aymericr Aymericr commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Housekeeping. Three files, one version number.

.github/workflows/ci.yml used oven-sh/setup-bun@v2 with no bun-version, so the gate that decides whether every PR is mergeable ran against whatever bun happened to be latest. That's a build that can go red with no change in the repo — and it can also go green on a runtime no contributor is using. mcp-ci.yml did pin, but to 1.3.0, so the two workflows exercised different runtimes on overlapping code.

packageManager in the root package.json also read bun@1.3.0 while the committed bun.lock is produced by 1.3.14. Now all three say 1.3.14.

Also adds permissions: contents: read to the quality job. mcp-ci.yml already scopes its token that way; the default is broader than a lint-typecheck-test-build job needs.

No behaviour change for contributors already on 1.3.x. Anyone on an older bun will now get a clear version mismatch from packageManager rather than a confusing lockfile diff.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com


Note

Low Risk
CI and toolchain version alignment only; no application, auth, or runtime behavior changes.

Overview
Aligns Bun to 1.3.14 across the main quality workflow, mcp-ci, and root packageManager so CI, lockfile tooling, and local dev agree on the same runtime.

The quality job in ci.yml now pins oven-sh/setup-bun to 1.3.14 (previously floated to latest) and adds permissions: contents: read, matching the tighter token scope already used in mcp-ci. mcp-ci.yml bumps its pin from 1.3.0 to 1.3.14. Root package.json packageManager moves from bun@1.3.0 to bun@1.3.14 to match the committed lockfile.

Contributors already on 1.3.14 see no behavior change; older Bun installs should hit a clearer packageManager mismatch instead of surprise CI or lockfile drift.

Reviewed by Cursor Bugbot for commit af9a85d. Bugbot is set up for automated code reviews on this repo. Configure here.

`ci.yml` used `oven-sh/setup-bun@v2` with no version, so the main gate ran
against whatever bun was latest at the time. A bun release could then break CI
with no change in the repo, and CI could disagree with what contributors run
locally — the worst kind of red build, because bisecting the repo finds nothing.

`mcp-ci.yml` already pinned, but to 1.3.0, so the two workflows tested different
runtimes. `packageManager` also said 1.3.0 while the committed lockfile is
produced by 1.3.14. All three now name one version.

Also adds `permissions: contents: read` to the quality job, matching mcp-ci.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Aymericr
Aymericr merged commit caf4362 into main Aug 4, 2026
3 checks passed
@Aymericr
Aymericr deleted the ci/pin-bun-version branch August 4, 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