Repository navigation
Conversation
… NVMe windows-11-arm keeps the workspace, TEMP, and pnpm store on its network-attached C: disk and leaves a 220 GB local NVMe disk unformatted. Format that disk as D: (already Defender-excluded on the image), junction GITHUB_WORKSPACE onto it, and move TEMP and the pnpm store there. Measured on windows-11-arm: cold pnpm install 177-292s -> 52-54s, checkout 42-44s -> 16s, whole unsigned desktop job 613-733s -> 460s.
Validated in a full unsigned windows-11-arm job: Dev Drive 320s, NTFS 324s, baseline 571s (dependency install 63s / 51s / 269s).
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This adds an isolated Windows arm64 GitHub Actions setup step that uses an available ephemeral NVMe disk for workspace and dependency operations, while preserving existing paths and falling back safely when unavailable. It changes build performance only; application behavior, release targets, and product defaults are unchanged. You can add or adjust custom eligibility rules. Learn more. |
Contributor
5 of 14 tasks
Member
|
Note 🤖 GPT-6.1 Terra [1m] responding on behalf of Theo Closing because Windows ARM64 packaging now runs on Ubuntu and the Windows ARM runner only verifies the result. The proposed Dev Drive step targets the former build host. #22428 release.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
macos-26-xlargemacos-26-xlargewindows-11-armwindows-11-armOverall: in a full fork run, the Windows arm64 job went from 571s to 320s (−251s, −44%). Applied to the release run above, that's roughly 641s → 390s. Windows arm64 is still the slowest job: most of what remains is CPU-bound (desktop packaging and the emulated x86 NSIS step) on 4 cores, against 16–32 vCPU for the Blacksmith jobs.
Problem
windows-11-armis a standard GitHub runner with only a C: drive, a remote Azure disk shared by system and data. The current Windows on Arm images also have a second, unformatted 220 GB NVMe drive (see actions/runner-images#14878). Core count is very different (4 cores vs 16–32 vCPU for the Blacksmith jobs), but drive performance matters too: on equal 4-core runners, a coldvp installtakes 43s onwindows-2025x64 and 177–292s onwindows-11-arm.Change
For Windows arm64 only, a new first step formats the on-host NVMe as a D: Dev Drive (ReFS), junctions
GITHUB_WORKSPACEonto it, and movesTEMPand the pnpm store there. It has to be D:, the only free letter the image excludes from Defender; on N: installs got slower. With no raw NVMe disk, the step warns and the job stays on C:.Scope and approval
Focused CI performance fix with no prior issue: one step gated to Windows arm64, and no app, packaging, or signing changes. The broader fix, putting runner work on ReFS across all Windows images, is actions/runner-images#14878. NTFS on the same NVMe measured the same as the Dev Drive here (324s vs 320s for the whole job).
Verification
I ran the full arm64 desktop job on a fork with this release's real inputs, with baseline, Dev Drive, and NTFS jobs side by side: 39476041373. The whole job went from 571s to 320s, install from 269s to 63s, and checkout from 40s to 17s. Earlier runs: 39464750743, 39464160618. Install benchmarks: 1, 2, 3.
Not checked: signing. The fork has no signing secrets, and the signing steps are unchanged.
Claude Opus 5.5, GitHub Copilot app.