ci(pm): optimize Windows CI speed by disabling Defender real-time scanning#2669
Merged
xusd320 merged 1 commit intoutooland:nextfrom Mar 8, 2026
Merged
Conversation
Disable Windows Defender real-time scanning on Windows runners to reduce NTFS I/O overhead for cargo builds, test execution, and npm operations. Expected savings: ~30-50% on I/O-heavy steps (cargo build, cargo test). Applied to: - pm-ci.yml (cargo test job) - pm-e2e.yml (build + e2e test job) Note: pack-ci.yml Windows targets are currently commented out, so no changes needed there.
Contributor
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Contributor
Author
|
The results before the CI comparison are required to be confirmed by a real run @elrrrrrrr |
xusd320
approved these changes
Mar 8, 2026
Contributor
|
Compared to https://github.com/utooland/utoo/actions/runs/22760763317/job/66016506427, improved by about 20%, thanks! |
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.
Summary
Optimizes Windows CI build time by disabling Windows Defender real-time scanning, reducing NTFS I/O overhead for cargo builds, test execution, and npm operations.
Changes
Set-MpPreference -DisableRealtimeMonitoring $trueif: runner.os == 'Windows')pm-ci.ymlandpm-e2e.ymlpack-ci.ymlWindows targets are currently commented out, no changes neededExpected Impact
References
samypr100/setup-dev-drivewith ReFS (used by oxc and rolldown) as a follow-up