From 554f537801145c3135bcbf52617904ea7ce96455 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Fri, 28 Aug 2026 04:54:38 -0700 Subject: [PATCH 1/2] Pin the Bun version CI and local share CI installed bun-version: latest with no repo-level pin, while @types/bun is pinned to 1.3.14 in package.json. Add .bun-version so CI and local installs resolve the same Bun version instead of drifting against the type pin. Fixes CL-7125. --- .bun-version | 1 + .github/workflows/ci.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .bun-version diff --git a/.bun-version b/.bun-version new file mode 100644 index 000000000..085c0f266 --- /dev/null +++ b/.bun-version @@ -0,0 +1 @@ +1.3.14 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 868b4b51a..a828fbe20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 with: - bun-version: latest + bun-version-file: .bun-version - uses: actions/cache@v4 with: path: ~/.bun/install/cache @@ -52,7 +52,7 @@ jobs: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 with: - bun-version: latest + bun-version-file: .bun-version - uses: actions/cache@v4 with: path: ~/.bun/install/cache @@ -71,7 +71,7 @@ jobs: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 with: - bun-version: latest + bun-version-file: .bun-version - uses: actions/cache@v4 with: path: ~/.bun/install/cache @@ -91,7 +91,7 @@ jobs: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 with: - bun-version: latest + bun-version-file: .bun-version - uses: actions/cache@v4 with: path: ~/.bun/install/cache @@ -142,7 +142,7 @@ jobs: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 with: - bun-version: latest + bun-version-file: .bun-version - uses: actions/cache@v4 with: path: ~/.bun/install/cache From 09b1a4245d004e5fcec5c06616b86187ca0b2826 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Fri, 28 Aug 2026 04:55:26 -0700 Subject: [PATCH 2/2] Update docs: mention .bun-version in Quickstart --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 62007603f..fa191b20a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ install is tracked separately and is not part of this path. ## Quickstart -Requires [Bun](https://bun.sh) >= 1.2. +Requires [Bun](https://bun.sh) >= 1.2. The exact version CI and this repo +develop against is pinned in [`.bun-version`](.bun-version). ```sh bun install