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.
`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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
One commit.
release.ymlrannpm run test:bunwithout installing bun —ci.ymlinstalls 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.mjsends withprocess.exit(status ?? 1), andspawnSyncon a missing binary returnsstatus: 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.