Partial cache re-use on pnpm install --frozen-lockfile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 217
- Avg merge
- 8h 42m
- Merged PRs (30d)
- 1
Description
👋 I have an issue using this action with the following github action setup
runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@4 # v4
- name: Install Node & NPM
uses: actions/setup-node@4 # v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
The issue is the cache is restored but it isn't fully re-used.
When the installation happening, I see only about half of the packages. are reused:
Progress: resolved 2359, reused 1037, downloaded 141, added 1171
Locally, all the packages are reusued.
What could be causing this? how can I debug it?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the workflow configuration in the issue and the pnpm install output, then compare the restored GitHub Actions cache with the local installation's reuse counts. Determine what causes the partial reuse and document a reproducible debugging path or configuration change that makes the expected cache behavior clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, nodejs, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100