ci(fast-path): never save shared caches; keep pending dispatches
Merged
KH
9d ago+1+1+0123456789-3-3-0123456789
Follow-up to #68 (the approval-gated fast path).
- Cache poisoning: the fast path builds unreviewed refs, so it must not save into caches normal CI restores. The two
actions/setup-nodesteps no longer passcache: npm(that cache is keyed only on the lockfile and shared withci.yml/publish.yml). - Concurrency: the workflow-level group is now
fast-path-<ref>-<run_id>, so a run waiting for Khaliq's approval of thefast-pathenvironment is never cancelled by a later dispatch of the same ref.
No workflow test harness exists in this repo, so no property test was added. Normal CI is 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
Hardens the approval-gated fast path so unreviewed builds don't poison shared caches and pending runs aren't cancelled by newer dispatches.
- Removes
cache: npmfrom bothactions/setup-nodesteps; the fast path builds unreviewed refs, so it must never write to caches normal CI and release workflows restore. - Includes
github.run_idin the concurrency group so a run waiting for approval of thefast-pathenvironment survives later dispatches of the same ref.