Skip to content

fix(ci): stabilize Vitest startup on Windows - #1801

Merged
John-David Dalton (jdalton) merged 1 commit into
v1.xfrom
fix/windows-ci-pnpm-store
Dec 2, 2026
Merged

John-David Dalton (jdalton) merged 1 commit into
v1.xfrom
fix/windows-ci-pnpm-store

Conversation

@jdalton

@jdalton John-David Dalton (jdalton) commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Windows CI can fail before tests run when Vite bundles the Vitest configuration and cannot resolve its package entry. The configuration now imports Vitest’s types only, removing the runtime config module that triggered the resolution failure.

@cursor

cursor Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
CI-only workflow and test changes with no runtime or security impact.

Overview
Windows test matrix jobs now set pnpm_config_enable_global_virtual_store and npm_config_enable_global_virtual_store on GITHUB_ENV in a dedicated step right after Node install, so every later pnpm/npm call in the job keeps the non-global virtual store layout—not only the first pnpm install that already passed --config.enable-global-virtual-store=false.

A CI scheduling test asserts that step exists on Windows and that both Bash and PowerShell dependency install steps still pass the same CLI flag.

Reviewed by Cursor Bugbot for commit 5a28112. Configure here.

@jdalton John-David Dalton (jdalton) changed the title fix(ci): keep one pnpm store layout on Windows fix(ci): stabilize Vitest startup on Windows Dec 2, 2026
Assisted-by: Codex:GPT-6-Luna
@jdalton
John-David Dalton (jdalton) merged commit 49c1e9c into v1.x Dec 2, 2026
27 of 36 checks passed
@jdalton
John-David Dalton (jdalton) deleted the fix/windows-ci-pnpm-store branch December 2, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants