ci(fast-path): never save shared caches; keep pending dispatches

Merged
KH
9d ago
+1-3

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-node steps no longer pass cache: npm (that cache is keyed only on the lockfile and shared with ci.yml/publish.yml).
  • Concurrency: the workflow-level group is now fast-path-<ref>-<run_id>, so a run waiting for Khaliq's approval of the fast-path environment 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
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: npm from both actions/setup-node steps; the fast path builds unreviewed refs, so it must never write to caches normal CI and release workflows restore.
  • Includes github.run_id in the concurrency group so a run waiting for approval of the fast-path environment survives later dispatches of the same ref.