Files
pnpm/config
Victor Sumner 9f5c0e391f fix(config): respect explicit enableGlobalVirtualStore in CI environments (#10836)
Previously, `ci: true` (auto-detected or configured) unconditionally
set `enableGlobalVirtualStore` to `false`, even when the user had
explicitly enabled it in `pnpm-workspace.yaml` or via CLI. This forced
users to add `ci: false` as a workaround in their workspace config
whenever they wanted GVS in CI-like environments (Nix builds, CI systems
with persistent caches, Docker multistage builds).

Now, the CI override only applies when `enableGlobalVirtualStore` was
not explicitly set (i.e., is `null` or `undefined`). This preserves the
default behavior for ephemeral CI while respecting explicit user
configuration.

Also removes the `ci: false` workarounds from existing tests that
were documenting this limitation.

Co-authored-by: Zoltan Kochan <z@kochan.io>
2026-03-03 01:59:57 +01:00
..
2026-02-18 14:54:09 +01:00