docs: record system update verification and release workflow

This commit is contained in:
abaishu0730 committed 2026-10-27 15:09:03 +08:00
1 parent b4bc350b84
commit 39ece1920a
2 files changed
+71

No files matched your search

+7
View File
@@ -1,5 +1,12 @@
# 开发交接(2026-10-23)
## 2026-10-27 系统更新提示(独立分支)
- `codex/system-update` 在菜单左下角显示 `package.json` 版本,登录自动检查一次,支持手动检查、更新标记及含日期/纯文本说明/发行链接的详情框。仅提示正式 Gitea Release,不以分支提交或单独 tag 触发更新。
- 服务端固定公开仓库的 `releases/latest`,使用现有登录权限;5 秒超时、256 KiB 上限、禁止重定向,不读取 Git 凭据或传递业务数据。没有发行版本、当前最新与检查失败分别显示;当前远端无 Release,未创建首个发行版。
- 最终业务回归 304/304 通过,更新专项 12 项通过,独立审查发现的说明文字可读性已修复。历史全量 1312 项中 1278 通过、33 失败、1 跳过;部分旧失败已在基线复现,未核验项仍保留,因此提交草稿请求。
- 发布约定见 [版本发布与更新检查](system-updates.md),完整结果和失败后续状态见 [本次验证记录](verification-system-update-2026-10-27.md)。
## 2026-10-27 业务首页轻量看板
- 用户确认蓝白卡片、流程小场景和少量动效。新增首页独立模块及样式,突出下一计划发送时点、到达截止、时间进度、收集中批次及顺延数量;运行条件和异常独立展示,保留现有业务操作边界。
@@ -0,0 +1,64 @@
# 系统更新功能验证(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 响应验证;部署和实际更新仍由管理员按[发行流程](system-updates.md)执行。由于历史全量集未通过,本功能以草稿合并请求交付审查。