8.0 KiB
8.0 KiB
系统更新功能验证(2026-10-27)
功能基于开发分支 codex/smb-storage 的 dcea4a0,工作分支为 codex/system-update。未在测试中调用真实 BPM、SMTP 或 SMB 业务连接;新版本响应和截图使用隔离测试数据。
验证结果
| 检查 | 结果 |
|---|---|
npm ci |
成功,349 个包;审计 0 条已知漏洞 |
npm test(最终业务回归) |
304 通过,0 失败,0 跳过 |
| 更新功能专项 | 12 通过;包含 SemVer、稳定发行、404、网络超时、响应大小、链接、鉴权、详情转义、对比度及手机交互 |
| 更新功能 + 新版首页联合验证 | 21 通过 |
npm run test:full |
1312 项:1278 通过、33 失败、1 跳过;未全绿 |
| 独立只读代码审查 | 说明文字颜色问题已修复并复核,无剩余已报告阻塞 |
| 真实 Gitea 只读检查 | 公开仓库发行列表为空,检查器返回 none,当前版本 0.1.0 |
| 视觉验证 | 已查看桌面侧栏、发行详情和手机菜单截图;修复 Tabler 的浅底浅字问题 |
全量运行中发现的 DOM 最小夹具兼容问题已通过删除一个无用途的属性清理调用修复,原用例复验通过;上述原始全量汇总仍包含该次失败,不能据此宣称全量已通过。全量失败不自动全部归因于旧问题,未完成逐项基线核验的项目按下表保留。
原开发基线的抽样对照:13 项旧账号/界面失败及 BPM 登录、Excel 校验各 1 项同名失败复现;另有邮件历史与 DOM 生命周期用例在基线通过。任务恢复用例的基线复测遇到 Windows 加密调用超时,原因对照未完成。
全量运行失败清单
| 位置 | 用例 | 后续核验 |
|---|---|---|
| tests/app/account-password.test.cjs:50:1 | password change closes only the target account BPM login windows | 在 dcea4a0 基线复现同名失败 |
| tests/app/business-records.test.cjs:25:1 | dismissal cancels late details, guards Escape drafts, and sent batch links include history | 在 dcea4a0 基线复现同名失败 |
| tests/app/execution-contract-ui.test.cjs:4:1 | real captured sample uses server evidence id and uncertain batch verification carries version and idempotency | 在 dcea4a0 基线复现同名失败 |
| tests/app/notification-navigation.test.cjs:32:1 | homepage background polling only announces updates and ignores responses after departure | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-review-ui.test.cjs:6:47 | Save and Continue preserves currentTarget for rule settings: internal | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-review-ui.test.cjs:18:1 | execution detail retains recovery notes during explicit list refresh and reopens with current version | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-review-ui.test.cjs:29:1 | field mapping save retains returned version after followup GET fails | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-review-ui.test.cjs:39:1 | unknown and conflicted task details cannot offer ordinary retry | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-ui.test.cjs:9:1 | execution scan, evidence-only field draft and check emit versioned contracts | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-ui.test.cjs:21:1 | calendar staged changes save through navigation and rule tab changes use the same guard | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-ui.test.cjs:22:1 | manual resend uses frozen batch identity and unknown offers verification only | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-ui.test.cjs:30:1 | a delayed execution response cannot replace the selected field directory | 在 dcea4a0 基线复现同名失败 |
| tests/app/web-closure-ui.test.cjs:31:1 | operator scans but cannot configure fields or resend, viewer has no scan action | 在 dcea4a0 基线复现同名失败 |
| tests/bpm/bpm-integration.test.cjs:9:1 | formal dashboard remote screen signs into an isolated BPM fixture under production CSP | 在 dcea4a0 基线复现同名失败 |
| tests/bpm/bpm-ui.test.cjs:264:1 | refresh and logout release BPM control before rendering or dropping authentication | 已移除无效属性清理调用,原用例独立复验通过 |
| tests/mail/history-ui.test.cjs:4:1 | history UI saves IMAP-only credentials locally, explicitly queries sent mail and displays escaped evidence | 全量中加密初始化失败;当前分支独立复跑通过 |
| tests/order-rules/business-config.test.cjs:13:1 | Excel reports unknown and duplicate categories, invalid addresses and stale versions without partial writes | 在 dcea4a0 基线复现同名失败 |
| tests/order-rules/failure-evidence-ui.test.cjs:4:1 | authorized users can explicitly revalidate only the original departed task while viewers cannot | 基线同名用例遇加密调用超时,尚未证实与全量相同原因 |
| tests/order-rules/huizhou-ui.test.cjs:41:1 | viewers can inspect Hui choices but cannot edit rules or confirm template modes | 尚未逐项基线复测 |
| tests/order-rules/huizhou-ui.test.cjs:48:1 | template confirmation sends selected Hui mode and lists mode-specific published usage | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:5:1 | mapping output shows separate mail summary columns including shipping and zero without merging customer text | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:12:1 | selecting an order locates its real version and recognizes zero and HA without configuration writes | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:17:1 | ambiguous candidates edit page only, guard context changes, and an acknowledged lost save is verified before retry | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:22:1 | a late proposal cannot replace a newer order and an expired login retires the page | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:27:1 | operators and viewers only select their own evidence on both pages and never see configuration actions | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:31:1 | an old check cannot confirm a different interrupted check request | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:33:1 | saving a recommendation refreshes its displayed basis and persisted version | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:35:1 | verified lost save, check and activation responses show one confirmed result without a contradictory unknown banner | 尚未逐项基线复测 |
| tests/order-rules/order-driven-mapping-ui.test.cjs:37:1 | a failed read-only proposal never creates an uncertain-write banner or state readback | 尚未逐项基线复测 |
| tests/order-rules/readiness-pending-ui.test.cjs:4:1 | healthy todo without matched orders shows pending verification without loosening capability gates | 全量中 Windows 加密调用超时;304 项业务回归中通过 |
| tests/order-rules/section-ui.test.cjs:11:1 | business homepage uses bounded summary and concrete remediation links | 尚未逐项基线复测 |
| tests/order-rules/test-preparation.test.cjs:26:1 | replacement freezes 15 source rules, preserves old records and holds only unfrozen previous-run orders | 尚未逐项基线复测 |
| tests/order-rules/workbench.test.cjs:40:1 | publication overlap uses paired rows and permits disjoint pairs sharing both columns | 尚未逐项基线复测 |
证据位置与范围
原始输出、聚合收据和隔离截图保存在工作区忽略目录 output/system-update-review/;不提交模拟发行或真实业务数据。完整命令结果也保留于本机临时目录的 system-update-*-tests.log。
当前未发布首个 Release。高版本可用场景通过隔离的 Gitea 响应验证;部署和实际更新仍由管理员按发行流程执行。由于历史全量集未通过,本功能以草稿合并请求交付审查。