Skip to content

Conversation

@adsharma
Copy link
Contributor

@adsharma adsharma commented Jan 9, 2026

Windows Defender real-time scanning causes significant slowdowns during builds by repeatedly scanning newly created files. This commit adds Add-MpPreference -ExclusionPath exclusions to all Windows build jobs to exclude the workspace directory from security scans.

Affected workflows:

  • ci-workflow.yml: msvc-build-test and windows-extension-test jobs
  • python-wheel-workflow.yml: Windows wheel build
  • nodejs-workflow.yml: Windows Node.js native module build
  • java-workflow.yml: Windows Java lib build
  • precompiled-bin-workflow.yml: Windows precompiled binary build
  • build-extensions.yml: Windows extension build

Windows Defender real-time scanning causes significant slowdowns during
builds by repeatedly scanning newly created files. This commit adds
Add-MpPreference -ExclusionPath exclusions to all Windows build jobs
to exclude the workspace directory from security scans.

Affected workflows:
- ci-workflow.yml: msvc-build-test and windows-extension-test jobs
- python-wheel-workflow.yml: Windows wheel build
- nodejs-workflow.yml: Windows Node.js native module build
- java-workflow.yml: Windows Java lib build
- precompiled-bin-workflow.yml: Windows precompiled binary build
- build-extensions.yml: Windows extension build
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.

2 participants