瀏覽代碼

report(tdd): web-4091 13:25 双端Jest有界子集复测 — fe爱云医3套件53例=50过/0红/3跳(12s EXIT0 可复用jest基建零安装, 08eb3d2ed/0a7490f1f/326c346c2落地后) | cfc-web承袭不可测P-430-2(+08eb3d2ed新增web契约亦不可执行) | 静态双通道 /frontend 302转200 1034B title浠艾福, /api/system/health POST=200(后端13:25:07重启uptime3min) | blocker窗口无定向src承袭未实测

E2E Test Bot 1 小時之前
父節點
當前提交
b8c8bf885e
共有 1 個文件被更改,包括 75 次插入 和 0 次删除
  1. 75 0
      docs/tdd/orchestration/report-exec-web-4091-2026-11-30-1325.md

+ 75 - 0
docs/tdd/orchestration/report-exec-web-4091-2026-11-30-1325.md

@@ -0,0 +1,75 @@
+# 测试执行汇报 · web-4091(本机 frontend)· 2026-11-30 13:25 档(双端 Jest 有界子集 + 静态页探活)
+
+- 节点:`web-4091` = 本机 opencode(`d:/cfc`,cfclub 主工作树,单任务不并发)
+- 基线:开局 `git pull --rebase` → fast-forward `97b72d1e1..ff94cac8f`(cfc-web changelog auto-bump 5 文件,无 src);收口前需再 pull
+- 前情:同日 12:30 轮(`report-exec-web-4091-2026-11-30-1230.md`,基线 `c4072c51d`)已实测同一批 3 套件 53 例;本档为 `08eb3d2ed`(任务编辑日期 DTO @JsonFormat + 前端回显)与 `0a7490f1f`/`326c346c2`(解锁去重 + 能量追回)落地后的有界复测,不扩全量
+- 实测时刻:2026-11-30 13:26~13:29(本机)
+
+## 一、依赖探活(P-430-2 复核,与 12:30 轮一致)
+
+| 轨 | 证据 | 判定 |
+|---|---|---|
+| cfc-web | `D:\cfc\cfc-web\node_modules` 目录缺失 | 依赖缺失 → **不可测·承袭 P-430-2,未安装依赖** |
+| cfc-frontend | `node_modules` = 34 字节 tracked 文件(Linux/Docker 符号链接摊平),`git ls-files` 命中 | 坏链·承袭(根 `.gitignore:12` 尾斜杠只忽略目录,未擅改) |
+
+可复用基建(零安装):`D:\cfc\tests\node_modules\jest\bin\jest.js`(jest 29.7.0)+ `D:\cfc\.r689_exec\jest.fe.contract.config.js`(@babel/preset-env 绝对路径注入)。
+
+## 二、套件名 + 命令 + 实测数字(cfc-frontend 有界子集,同 12:30 轮 3 套件 53 例,不扩)
+
+```
+cwd: D:\cfc\cfc-frontend
+node D:\cfc\tests\node_modules\jest\bin\jest.js \
+  --config D:\cfc\.r689_exec\jest.fe.contract.config.js \
+  --testPathPattern '(aiyunyi[.]reportDetail|aiyunyi[.]detectPage|report-upload[.]uploadCard)' \
+  --json --outputFile D:\cfc\.r689_exec\jest_fe_1325.json
+```
+
+实测(EXIT=0,Time 11.956s,有界内;json 存 `.r689_exec/jest_fe_1325.json`):
+
+| 套件 | 通过 | 失败 | 跳过 |
+|---|---|---|---|
+| `aiyunyi.reportDetail.contract`(AI 报告详情页) | 22 | 0 | 1 |
+| `aiyunyi.detectPage.contract`(AI 检测页入口) | 19 | 0 | 1 |
+| `report-upload.uploadCard.contract`(上传卡片+路由) | 9 | 0 | 1 |
+| **合计(3 套件)** | **50** | **0** | **3** |
+
+- 控制台实收:`Test Suites: 3 passed, 3 total` / `Tests: 3 skipped, 50 passed, 53 total`。
+- 3 跳过 = 用例内有意 `describe.skip`「权限流占位」,非缺陷;数字与 11:00/12:30 两轮逐项一致。
+- 注:本轮 3 套件均在 cfc-frontend,`08eb3d2ed` 触及的 `cfc-web/src/views/FamilyWorkbench.vue` + 新增 `cfc-web/src/__tests__/views/FamilyWorkbench.taskDateFormat.contract.spec.js` 不在本子集,见 §四 承袭。
+
+## 三、红例清单
+
+**本轮 0 红例**(3/3 套件全绿,无失败断言原文可录)。
+
+## 四、长期 blocker 窗口 src 检查(`c4072c51d..HEAD`)
+
+窗口内 src 提交 3 个:
+- `08eb3d2ed` 任务编辑日期格式(`FamilyTaskCreateDTO` @JsonFormat + `FamilyWorkbench.vue` 回显 + cfc-web 契约测试)
+- `0a7490f1f` 解锁去重(迁移 505 + `UnlockGateService` + `schema.sql` + `UnlockGateDedupTest`)
+- `326c346c2` 能量追回(`AdminUnlockClawbackController` + `EnergyClawbackTest`)
+
+**均非 G-304-1 / B-260-1 / N-R373-1/2 定向修复** → 恢复信号不成立 → 上述 blocker **承袭·未实测,未跑全量**(仅探针 + 窗口检查,按纪律)。
+
+| 项 | 处置 | 来源 |
+|---|---|---|
+| 双端 Jest 不可测(node_modules 桩)P-430-2 | fe 有界子集经可复用基建实测 50/0/3;**cfc-web 仍依赖缺失**(§一)→ 承袭·未实测,不安装 | R418 起(11:00/12:30 轮 §一) |
+| 08eb3d2ed 新增 cfc-web 契约 `FamilyWorkbench.taskDateFormat.contract.spec.js` | 依赖缺失不可执行 → 承袭·未实测(P-430-2 派生) | 本档窗口检查 |
+| G-304-1 / B-260-1 / N-R373-1/2 等长期 blocker | 窗口无定向 src → 承袭·未实测,全量未跑 | 12:30 轮 §五 延续 |
+
+## 五、静态探针(匿名·无凭据,仅环境证据)
+
+| 探针 | 结果 | 备注 |
+|---|---|---|
+| `GET /frontend`(不跟随) | **302** → `Location: http://cfc.iwintrue.com/frontend/` | 尾斜杠重定向,非 502 |
+| `GET /frontend/`(跟随后) | **200**,1034B,`<title>浠艾福</title>` | 页面通道可达 |
+| `GET /api/system/health` | **200**,92B,body `code=405`「本平台接口统一使用POST」 | 约定内,非故障 |
+| `POST /api/system/health` | **200**,317B,success:startTime 13:25:07 CST、uptime 3分钟、java 1.8.0_492、mem 340.4/953.5MB、cpuLoad 6.85 | 后端 13:25 刚重启,通道正常 |
+
+## 六、commit sha 与纪律
+
+- 提交前再 `git pull --rebase`;本报告以精确 pathspec + `git add -f`(命中 `.gitignore:160` 系规则)入库,不含任何 `.r*` 未追踪产物/他人 WIP。
+- 纪律:未安装依赖、未改 src/main、未改 tests/e2e、未改 blockers.md;`.r689_exec/` 仅追加 `jest_fe_1325.json` 与探针产物(未追踪)。
+
+## 七、一句话总结
+
+`08eb3d2ed`/`0a7490f1f`/`326c346c2` 落地后复测:cfc-frontend 有界 3 套件 53 例 = **50 过 / 0 红 / 3 跳**(≈12s EXIT=0,可复用 jest 基建零安装),cfc-web 承袭·不可测(P-430-2 + 08eb3d2ed 新增 web 契约测试亦不可执行),静态双通道 /frontend 302→200、/api/system/health POST=200(后端 13:25:07 重启后 uptime 3min),blocker 窗口无定向 src → 承袭·未实测不跑全量。