From fc495fa3cbce8c5b005b671c6ef8b303edce340d Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Wed, 23 Sep 2026 12:52:21 -0500 Subject: [PATCH] fix(ci): install bun in the release workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `release.yml` runs `npm run test:bun` but never installed bun. `ci.yml` gets away with one setup action per matrix entry; the release job runs every suite in the same job, so it needs both. Leaving it out does not skip the suite. `scripts/run-runtime.mjs` spawns `bun`, gets `ENOENT`, and `process.exit(status ?? 1)` turns a missing binary into a failure — verified: `spawnSync` on a missing command returns `status: null`, which that expression maps to 1. Nothing would have been published, since the gates run before the publish. What it would have cost is a tag sitting on GitHub with no release against it, which has to be deleted before the same tag can be tried again. Found during the pre-flight for the first tag, by checking which tools the steps use against which ones the job installs, rather than by pushing the tag and reading the failure. Signed-off-by: Diego Resendez --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c09d02b..93054cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,11 @@ jobs: - uses: denoland/setup-deno@v2 with: deno-version: v2.x + # Both runtimes, because the gates below run both suites. `ci.yml` installs these one per + # matrix entry; here every suite runs in the same job, so both have to be present. Leaving + # bun out does not skip its suite — `scripts/run-runtime.mjs` spawns `bun`, gets ENOENT, and + # `process.exit(status ?? 1)` turns that into a failure that aborts the release. + - uses: oven-sh/setup-bun@v2 - run: npm ci # The same gates CI runs. They ran on `main` already, and they run again here because this is