Promote: install bun in the release workflow #12

Merged
chrnx merged 2 commits from develop into main 2026-09-23 17:54:21 +00:00
Owner

One commit. release.yml ran npm run test:bun without installing bun — ci.yml installs each runtime per matrix entry, but the release job runs every suite in one job.

It would not have skipped the suite: scripts/run-runtime.mjs ends with process.exit(status ?? 1), and spawnSync on a missing binary returns status: null, so ENOENT becomes exit 1 and the job aborts.

Nothing would have been published — the gates run before the publish. The cost would have been a tag on GitHub with no release against it, needing deletion before the same name could be reused.

Promoting this before cutting the first tag.

One commit. `release.yml` ran `npm run test:bun` without installing bun — `ci.yml` installs each runtime per matrix entry, but the release job runs every suite in one job. It would not have skipped the suite: `scripts/run-runtime.mjs` ends with `process.exit(status ?? 1)`, and `spawnSync` on a missing binary returns `status: null`, so ENOENT becomes exit 1 and the job aborts. Nothing would have been published — the gates run before the publish. The cost would have been a tag on GitHub with no release against it, needing deletion before the same name could be reused. Promoting this before cutting the first tag.
chrnx added 2 commits 2026-09-23 17:53:15 +00:00
fix(ci): install bun in the release workflow
CI / dco (pull_request) Successful in 4s
CI / build (pull_request) Successful in 14s
CI / runtimes (deno) (pull_request) Successful in 10s
CI / runtimes (bun) (pull_request) Successful in 10s
CI / runtimes (edge) (pull_request) Successful in 9s
fc495fa3cb
`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 <diego.resendez@zero-oneit.com>
Merge pull request 'fix(ci): install bun in the release workflow' (#11) from fix/release-needs-bun into develop
CI / dco (pull_request) Successful in 5s
CI / runtimes (bun) (pull_request) Successful in 12s
CI / dco (push) Has been skipped
CI / build (pull_request) Successful in 13s
CI / runtimes (edge) (pull_request) Successful in 8s
CI / runtimes (deno) (pull_request) Successful in 12s
CI / runtimes (bun) (push) Successful in 10s
CI / runtimes (deno) (push) Successful in 10s
CI / runtimes (edge) (push) Successful in 9s
CI / build (push) Successful in 15s
Promote → GitHub / push-github (push) Successful in 6s
c87dccedd0
chrnx merged commit c87dccedd0 into main 2026-09-23 17:54:21 +00:00
Sign in to join this conversation.