FORGE-79: skip the throwaway pnpm cache save on the Cloudflare executor #718
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gmackie/ForgeGraph!718
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "FORGE-79-no-cache-save-on-cf"
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?
Issue: https://tasks.gmac.io/gmacko/issue/FORGE-79
Why (measured, #714 run for
64067e9c)The 95s is the post-job phase of
actions/setup-nodewithcache: pnpm, saving the pnpm store to the actions cache server. On the Cloudflare executor that server lives inside a single-use container, so the upload is thrown away. unit-api showed the same pattern (244s run vs ~140s of steps).Change
.forgejo/actions/pnpm-installgains anode-cacheinput (defaultpnpm, unchanged for every node-runner job).unit-apiandunit-web(runs-on: cloudflare) passnode-cache: "".Expected (estimate): ~90s off each Cloudflare unit job. The unit-web critical path drops from ~330s to ~240s. The install itself stays cold (~60s); baking a pnpm store into the image is the next step if worthwhile.
Tests
Workflow YAML parses (10 files); the runner-placement and aggregate tests pass (7/7). This PR's own run measures the change.
🤖 Generated with Claude Code
Preview environment is live: https://pr-718-forgegraph.forgegraf.com
Deployed
fdda5070with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.