docs: clarify web probe test counts

This commit is contained in:
Codex
2026-07-11 07:12:14 +02:00
parent 74ac2aca4f
commit 46bdccd33a
2 changed files with 8 additions and 3 deletions
@@ -1,7 +1,10 @@
# R1.3 任务报告
- `bun test` 定向执行 17 个测试,全部通过。
- 精确 Bun 测试命令:
- `bun test scripts/src/hwlab-node-web-observe-runner-realtime-source.test.ts scripts/src/hwlab-node/web-probe-observe-options.test.ts scripts/src/hwlab-node/web-probe-observe-collect.test.ts`
- 三个文件合计 17/17 通过:realtime 5、options 8、collect 4。
- 若只执行 realtime 与 options 两个核心定向文件,精确计数为 13/13。
- 覆盖 YAML refresh/live connected 合同、legacy live-only profile、handoff 计数一致性和正式 user event 三段 lineage。
- 覆盖 semantic origin 继承、URL 选择歧义拒绝和既有 collect 行为。
- `bun scripts/cli.ts check --syntax-only` 通过 11 项检查
- 独立命令 `bun scripts/cli.ts check --syntax-only` 通过 11/11;该计数未并入 Bun test 的 17 个测试
- `git diff --check` 通过。
@@ -5,6 +5,8 @@
- `validateRealtimeFanout` 已从 owning YAML 读取可组合 product SSE 合同,同时支持显式 live-only 与 refresh+live profile。
- refresh 验收覆盖 connected、barrier、retention→live handoff、重连 retained trace、第二轮 live 增量和正式 user event 三段 lineage。
- product evidence 同时证明 `hwlab.event.v1` envelope 原样透传,以及主 Workbench 单一 session-scoped EventSource 进入同一 UI reducer 并渲染终态。
- 定向测试 17/17、syntax-only 11/11、PR preflight `MERGEABLE/CLEAN`
- 三文件 Bun 定向测试 17/17realtime 5、options 8、collect 4;其中 realtime 与 options 两文件为 13/13
- 独立 syntax-only 检查 11/11;该计数未与 Bun test 合并。
- PR preflight 为 `MERGEABLE/CLEAN`
- 未引入 HTTP history、projector、snapshot、polling、gap-fill、fallback、临时 script 或 URL/IP 运行面选择。
- 按任务边界未部署、未合并。