pnpm version
11.0.0
Code to reproduce the issue
Minimal reproduction: https://github.com/schickling-repros/2026-04-pnpm-gvs-force-repair
corepack pnpm@11.0.0 run repro
The repro creates a temporary project with enableGlobalVirtualStore: true, installs @testing-library/svelte@5.3.1, removes that package published ./vitest runtime export target from the projected package directory under .pnpm-store/v11/links, and compares two repair paths.
Expected behavior
pnpm install --force rebuilds the derived global virtual store link projection and restores the missing exported runtime file.
Actual behavior
pnpm install --force leaves the incomplete .pnpm-store/v11/links package projection in place:
Runtime export restored by pnpm install --force: false
Deleting .pnpm-store/v11/links and reinstalling restores the missing file:
Runtime export restored after deleting .pnpm-store/v11/links: true
Additional information
This report is about the repair behavior for derived global virtual store link projections. The reproduction simulates an incomplete projection by deleting a file from .pnpm-store/v11/links; it does not claim that the package itself is invalid.
Node.js version
24.14.0
Operating System
Linux x86_64
Posted on behalf of @schickling
| field |
value |
agent_name |
🌱 co1-alder |
agent_session_id |
6c624c62-4e38-435e-b267-475ef99d9340 |
agent_tool |
Codex CLI |
agent_tool_version |
codex-cli 0.124.0 |
agent_runtime |
Codex CLI codex-cli 0.124.0 |
agent_model |
unknown |
worktree |
2026-04-pnpm-gvs-force-repair/main |
machine |
dev3 |
tooling_profile |
dotfiles@19cf6f4 |
pnpm version
11.0.0
Code to reproduce the issue
Minimal reproduction: https://github.com/schickling-repros/2026-04-pnpm-gvs-force-repair
The repro creates a temporary project with
enableGlobalVirtualStore: true, installs@testing-library/svelte@5.3.1, removes that package published./vitestruntime export target from the projected package directory under.pnpm-store/v11/links, and compares two repair paths.Expected behavior
pnpm install --forcerebuilds the derived global virtual store link projection and restores the missing exported runtime file.Actual behavior
pnpm install --forceleaves the incomplete.pnpm-store/v11/linkspackage projection in place:Deleting
.pnpm-store/v11/linksand reinstalling restores the missing file:Additional information
This report is about the repair behavior for derived global virtual store link projections. The reproduction simulates an incomplete projection by deleting a file from
.pnpm-store/v11/links; it does not claim that the package itself is invalid.Node.js version
24.14.0
Operating System
Linux x86_64
Posted on behalf of @schickling
agent_nameagent_session_idagent_toolagent_tool_versionagent_runtimeagent_modelworktreemachinetooling_profile