Skip to content

ci: use Visual Studio 2026 on windows-11-arm - #3380

Open
gengjiawen wants to merge 2 commits into
nodejs:mainfrom
gengjiawen:ci/visual-studio-2026-arm
Open

gengjiawen wants to merge 2 commits into
nodejs:mainfrom
gengjiawen:ci/visual-studio-2026-arm

Conversation

@gengjiawen

Copy link
Copy Markdown
Member
Checklist
Description of change

visual-studio (windows-11-arm, 2022) has failed on every run since 2026-09-14 (18 in a row).

The windows-11-arm label now resolves to the windows-11-vs2026-arm64 image (last passing run used windows-11-arm64 20260906), which only ships Visual Studio 2026. With --msvs-version=2022, find VS rejects it:

gyp ERR! find VS checking VS2026 (18.10.12217.157) found at:
...
gyp ERR! find VS - msvs_version does not match this version
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use

This switches the arm64 entry to 2026 (same as windows-2025) and drops the outdated "Fix this when Visual Studio 2025 is released" comment. The visual-studio run on this PR is the verification.

The windows-11-arm runner image moved to windows-11-vs2026-arm64, which
only ships Visual Studio 2026. Passing --msvs-version=2022 makes find VS
reject it ("msvs_version does not match this version"), so the
visual-studio (windows-11-arm, 2022) job has failed on every run since
2026-09-14.
@gengjiawen gengjiawen mentioned this pull request Sep 30, 2026
3 tasks done
@gengjiawen
gengjiawen requested a review from cclauss September 30, 2026 08:32
allVsVersions() stubbed findVisualStudio2017OrNewerUsingSetupModule,
which no longer exists since nodejs#2959, so 18 tests spawned a real
PowerShell to check for the VSSetup module. On windows-11-vs2026-arm64
under pwsh each spawn takes ~23s, pushing tests that make two of them
past the 30s timeout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant