加快门禁:删除测试窗口、释放桩线程并并行运行三个阶段

关闭后未删除的测试窗口让每次主题切换重排全部残留控件,ui_check 每次关窗还要等桩线程 5 秒。Linux 上结论不变,test_ui_smoke 75→64 s、ui_check 52→16 s;Windows 门禁结果见 .scratch/gate-speed/。
This commit is contained in:
ykcheungab
2026-10-19 09:34:29 +08:00
parent d89535236b
commit a0c13c1dc6
6 changed files with 160 additions and 44 deletions
+3 -2
View File
@@ -118,8 +118,9 @@ is meant to be unskippable:
powershell -NoProfile -ExecutionPolicy Bypass -File tools\gate.ps1
```
It runs `tools/lint_gate.py` over the changed files, the full studio suite, the full
shared suite, and `ui_check.py`; writes each one's output to
It runs `tools/lint_gate.py` over the changed files, then the full studio suite, the full
shared suite, and `ui_check.py` at the same time (`-Serial` runs those three one after
another with live output, for reading a failing stage); writes each one's output to
`.scratch/gate/gate-<run-id>/`; and holds the run to three contracts — an **empty**
`tools/known_failures.txt`, the skip ceilings and collection floors in
`tools/skip_budget.txt`, and zero findings anywhere. It exits 0 only when all of