Uh oh!
There was an error while loading. Please reload this page.
test(windows): exercise installer lifecycle - #2650
Conversation
4b316bb to
e63f113Comparee63f113 to
695f771Compareliugddx
commented
Aug 10, 2026
Adversarial review found a real lifecycle gap, confirmed by Windows run 31401966245: installation and installed-app verification passed, but uninstall began while the detached Runtime Host was still inside its 30-second idle grace, so the install directory remained. Updated the PR to:
Local validation: 13 focused release tests pass; full fast script suite reports 160 pass / 1 Windows-only skip. A fresh real Windows package run is pending. 中文说明对抗审查通过真实 Windows run 31401966245 发现:安装和已安装应用验证都成功,但 Runtime Host 仍处于 30 秒 idle grace 时就开始卸载,导致安装目录残留。 本次修复会在卸载前明确等待安装目录下所有进程退出;仍以安装目录由卸载器真实移除为成功标准;测试环境清理不会把失败伪装成成功,也不会覆盖原始错误。同时瘦身 mock,并补充进程顺序与错误保真测试。新的 Windows 实跑正在等待。 |
liugddx
commented
Aug 11, 2026
Windows lifecycle evidence is now green on run 31404195691.
中文结果修复版 Windows 实跑已通过:最终 NSIS 安装成功,已安装应用通过资源、版本、ConPTY 和渲染器验证;验证器等待安装目录相关进程在 31.6 秒后退出,避免与 Runtime Host idle grace 竞争;随后 NSIS 在 3.1 秒内完成卸载并移除安装目录。完整 package job 用时 9分38秒,PR 全部检查绿色。 |
Summary
Validation
node --test scripts/windows-x64-release.test.mjs scripts/electron-builder-config.test.mjs scripts/ci-test-plan.test.mjs(19 pass)npm run test:scripts(128 pass)git diff --checkScope
This closes clean install/start/uninstall evidence. Version-to-version upgrade, failed-upgrade rollback, Authenticode, and automatic updates remain separate Phase 3 work in #2142.
中文说明
内容
验证
边界
本 PR 完成干净安装、启动和卸载证据。跨版本升级、升级失败回滚、Authenticode 和自动更新仍作为 #2142 Phase 3 的后续独立工作。
Part of #2142.