ci: approval-gated fast path on Blacksmith runners
Merged
KH
9d ago+99+99+01234567890123456789-0-0-0123456789
What
Adds .github/workflows/fast-path.yml, a workflow_dispatch workflow (inputs ref, reason) that runs on Blacksmith runners (blacksmith-4vcpu-ubuntu-2404) so an urgent fix can be checked without waiting in the GitHub-hosted runner queue.
- Gate: the first job uses the
fast-pathenvironment. Khaliq must approve it before anything runs; every other job depends on it. The ref is resolved to a SHA once and later jobs check out that SHA. - Checks (mirrors
ci.yml):npm ci,npm run typecheck,npm test. - Publishes: nothing to npm.
publish.ymluses npm trusted publishing (OIDC, no token), which is bound to that workflow file, so the fast path packs the five@relayflows/*packages (built in the same order aspublish.yml) withnpm packand uploads the tarballs as the artifactnpm-packages-<sha>. No dist-tag is moved and no tag or GitHub release is created. - The run summary lists ref, SHA, reason and the tarballs.
Normal CI and publish.yml are unchanged.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Adds an opt-in fast-path workflow for urgent fixes that runs the same checks as CI and produces packed npm tarballs on Blacksmith runners, skipping the GitHub-hosted queue.
- The workflow is manually triggered with a ref and reason; the first job requires approval of the
fast-pathenvironment before anything runs, and all later jobs depend on it. - The ref is resolved to a SHA once, and that SHA is checked out by the job that packs the packages.
- The fast path does not publish to npm: trusted publishing is bound to
publish.yml, so it runsnpm packand uploads the tarballs as an artifact instead. No dist-tag or release is created. - Normal
ci.ymlandpublish.ymlare unchanged.