migration: close candidate maintenance audit

This commit is contained in:
leefer
2026-07-31 21:24:37 +08:00
parent faac60b1a6
commit 406118bba6
17 changed files with 844 additions and 120 deletions
@@ -77,19 +77,13 @@ python -m unittest discover -s tests -q
```powershell
cd webapp\app
python -m unittest discover -s tests -q
npx.cmd playwright test --reporter=dot
python tools\verify_baseline.py
python tools\verify_baseline.py --e2e
```
JavaScript和Git差异:
```powershell
cd webapp\app
$files = Get-ChildItem frontend -Recurse -Filter *.js
foreach ($file in $files) { node --check $file.FullName }
cd ..
git diff --check
```
第一条命令已经包含迁移版全量单元测试、API/架构注册表新鲜度、全部前端JavaScript语法、
Git空白错误和测试数据库只读完整性检查。第二条额外运行Playwright。工具的日常/验收/迁移期
分类见`app/tools/README.md`;迁移期工具不是正常开发命令。
Playwright需要能够启动本机无头Edge。若测试停在浏览器启动前且没有`msedge`进程,先检查执行
环境是否禁止GUI/无头浏览器进程;这不是页面失败,不要通过删除测试或延长产品超时绕过。