The design language that makes your AI harness better at design.
JavaScript
ci: make engine-release-ready a hard gate (#724)
Paul Bakausb0c09ec61913
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex fb28f7d6c..4bf45d973 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -219,14 +219,12 @@ jobs:# release/merge that depends on them. The launcher, npm shim, and# `impeccable install` all dead-end without those assets.#- # continue-on-error is a release-time toggle: until the first engine release is- # published, the assets cannot exist and this job would block- # every PR. It emits a loud ::warning instead. Once v<ENGINE_VERSION> is live,- # flip `continue-on-error` to false so a MIS-ORDERED release (skill/CLI ahead of- # the engine) fails CI. release.mjs already hard-fails `release:skill`/`release:cli`.+ # A hard gate since engine-v0.1.0 shipped: the assets for the pinned+ # ENGINE_VERSION must exist before a skill/CLI release or a merge that bumps the+ # pin, or the launcher, the npm shim and `impeccable install` dead-end.+ # release.mjs hard-fails `release:skill`/`release:cli` on the same check.engine-release-ready:runs-on: ubuntu-latest- continue-on-error: truesteps:- name: Checkout repositoryuses: actions/checkout@v7@@ -238,13 +236,13 @@ jobs:- name: Check engine release assets for pinned ENGINE_VERSIONid: check- continue-on-error: truerun: node scripts/check-engine-release.mjs- name: Annotate missing engine release- if: steps.check.outcome != 'success'+ # Only when the check itself failed, so a checkout or setup failure keeps its own error.+ if: failure() && steps.check.outcome == 'failure'run: |- echo "::warning title=Engine release not ready::The engine release for v$(cat ENGINE_VERSION) is not fully published (engine-v$(cat ENGINE_VERSION) release) and/or the @impeccable/cli-<os>-<arch> npm platform packages. Releasing the skill/CLI (or merging) now would dead-end the launcher, the npm shim, and impeccable install. Expected until the first engine release exists; after that, publish the engine + platform packages and flip this job's continue-on-error to false so a mis-ordered release fails CI."+ echo "::error title=Engine release not ready::The engine release for v$(cat ENGINE_VERSION) is not fully published (engine-v$(cat ENGINE_VERSION) release assets and/or the @impeccable/cli-<os>-<arch> npm platform packages). Publish the engine (bun run release:engine) and the platform packages (bun run release:platform-packages) before bumping ENGINE_VERSION on main or releasing the skill/CLI."test:runs-on: ubuntu-latest