web-infra-dev / web-infra-dev/rslint

Windows CI pnpm install fails frequently, and rerunning a single job does not resolve it

Open
#2,150 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
459
Forks
33
Avg merge
1d 2h
Merged PRs (30d)
376

Description

## Summary

The `Test npm packages (rspack-windows-2022-large)` CI job frequently fails during `pnpm install --frozen-lockfile` with `ERR_PNPM_EPERM` or `ERR_PNPM_ENOENT` while copying files from the pnpm store.

At least 19 matching failures have been identified. Rerunning only the failed Windows job often reproduces the failure, while rerunning the entire workflow is more likely to resolve it.

## Related issue

- https://github.com/pnpm/pnpm/issues/5672

## Failed jobs

- https://github.com/web-infra-dev/rslint/actions/runs/34315083025/job/102349502854
- https://github.com/web-infra-dev/rslint/actions/runs/34344364683/job/102442342929
- https://github.com/web-infra-dev/rslint/actions/runs/34344364683/job/102455710381
- https://github.com/web-infra-dev/rslint/actions/runs/34344364683/job/102695571392
- https://github.com/web-infra-dev/rslint/actions/runs/34344364683/job/102707061071
- https://github.com/web-infra-dev/rslint/actions/runs/34372055128/job/102535463006
- https://github.com/web-infra-dev/rslint/actions/runs/34372465180/job/102536841461
- https://github.com/web-infra-dev/rslint/actions/runs/34376577796/job/102550790345
- https://github.com/web-infra-dev/rslint/actions/runs/34466958597/job/102837665180
- https://github.com/web-infra-dev/rslint/actions/runs/34469449209/job/102845658396
- https://github.com/web-infra-dev/rslint/actions/runs/34479798367/job/102879714331
- https://github.com/web-infra-dev/rslint/actions/runs/34479798367/job/102890671477
- https://github.com/web-infra-dev/rslint/actions/runs/34487378386/job/102905024241
- https://github.com/web-infra-dev/rslint/actions/runs/34513485124/job/102993229738
- https://github.com/web-infra-dev/rslint/actions/runs/34513858851/job/102994654571
- https://github.com/web-infra-dev/rslint/actions/runs/34588357551/job/103249463368
- https://github.com/web-infra-dev/rslint/actions/runs/34608579019/job/103314851461
- https://github.com/web-infra-dev/rslint/actions/runs/34688031184/job/103541416627
- https://github.com/web-infra-dev/rslint/actions/runs/34690326163/job/103544367188

Contributor guide

Open the contributing guide

Research direction

Start with the GitHub Actions workflow for the `Test npm packages (rspack-windows-2022-large)` job and inspect the linked failed-run logs, focusing on the `pnpm install --frozen-lockfile` step. Compare failures from single-job reruns with full-workflow reruns; done means the Windows install no longer fails frequently or the workflow has a verified mitigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.