Skip to content

chore(ci): disable Windows Defender before unit tests#1865

Merged
piorpua merged 1 commit intomainfrom
zynx/chore/windows-defender-ci
Mar 29, 2026
Merged

chore(ci): disable Windows Defender before unit tests#1865
piorpua merged 1 commit intomainfrom
zynx/chore/windows-defender-ci

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 29, 2026

Summary

  • unit-tests job 中,针对 windows-2022 runner 新增步骤,在安装依赖前关闭 Windows Defender 实时防护并排除 workspace 目录
  • Windows Defender 会扫描每次文件读写,导致 bun installvitest run 明显慢于 Linux/macOS;runner 是一次性 VM,无安全风险

Test plan

  • 观察 windows-2022 单测 job 耗时是否有改善

@piorpua piorpua merged commit a94c196 into main Mar 29, 2026
15 of 17 checks passed
@piorpua piorpua deleted the zynx/chore/windows-defender-ci branch March 29, 2026 06:27
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