fix(fleet): use the mounted store with pnpm 12 #3

Merged
gmackie merged 2 commits from fix/fleet-pnpm12-store into main 2026-11-24 19:58:10 +00:00
Owner

The D1 rehearsal and fault job in create-gmacko-app run 922 detected a writable shared store but downloaded their dependencies again. With the existing action, pnpm 12.21.0 resolved pnpm store path inside its private home. pnpm 10.32.1 resolved the mounted store.

The action now exports PNPM_CONFIG_STORE_DIR alongside npm_config_store_dir after verifying that the mount is writable. This applies during the install and in later steps. Jobs with a missing or disabled mount use pnpm’s normal store.

I ran the new regression check with pnpm 10.32.1 and 12.21.0. It failed on the original action with pnpm 12 and passed on this head with both versions. Two fresh pnpm 12 workspaces then shared one test mount. The first fetched a tarball and the second installed it offline with a frozen lockfile. The fixture server saw one request in total.

Consumer PR · Failing job

The D1 rehearsal and fault job in create-gmacko-app run 922 detected a writable shared store but downloaded their dependencies again. With the existing action, pnpm 12.21.0 resolved `pnpm store path` inside its private home. pnpm 10.32.1 resolved the mounted store. The action now exports `PNPM_CONFIG_STORE_DIR` alongside `npm_config_store_dir` after verifying that the mount is writable. This applies during the install and in later steps. Jobs with a missing or disabled mount use pnpm’s normal store. I ran the new regression check with pnpm 10.32.1 and 12.21.0. It failed on the original action with pnpm 12 and passed on this head with both versions. Two fresh pnpm 12 workspaces then shared one test mount. The first fetched a tarball and the second installed it offline with a frozen lockfile. The fixture server saw one request in total. [Consumer PR](https://git.forgegraf.com/gmackie/create-gmacko-app/pulls/37) · [Failing job](https://git.forgegraf.com/gmackie/create-gmacko-app/actions/runs/922/jobs/3)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gmackie/ci-actions!3
No description provided.