fix(ci): disable broken pnpm cache on actions/setup-node #8
Reference in New Issue
Block a user
Delete Branch "fix/ci/disable-broken-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
act_runner's built-in GitHub-Actions-cache server binds inside the runner container on the compose-definedapf-portal-act-runnersbridge. Jobs spawned via the mounted Docker socket land on Docker's defaultbridgenetwork and can't reach it. Every job opting intocache: 'pnpm'ate ~2 minETIMEDOUTon restore + another ~2 min on save — across the 5 jobs, ~20 min wasted per CI run for zero cache hits.Drop
cache: 'pnpm'everywhere.pnpm install --frozen-lockfileis fast on the warm store inside the job container, so removing the cache layer is a net gain today.The proper fix (cross-container networking / fixed-port cache binding) is documented in
infra/README.md→ "Cache server (deferred)" so it can be picked up as an isolated infra spike later.Test plan
Set up Node.jsstep finishes in seconds (no ETIMEDOUT warning).Complete jobstep also finishes promptly (noreserveCache failedwarning).