Browse Source

report(tdd): web-4091 12:30 双端Jest有界子集再实测 — fe爱云医3套件53例=50过/0红/3跳(18s EXIT0 可复用jest基建零安装) | cfc-web承袭未实测(node_modules缺失+0适用) | 静态双通道 /frontend 302转200, /api/system/health POST=200(后端12:24重启后恢复) | P-430-2 34B坏链未修 | blocker窗口src无恢复信号未跑全量

E2E Test Bot 40 minutes ago
parent
commit
688ee19d4f
1 changed files with 79 additions and 0 deletions
  1. 79 0
      docs/tdd/orchestration/report-exec-web-4091-2026-11-30-1230.md

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

@@ -0,0 +1,79 @@
+# 测试执行汇报 · web-4091(本机 frontend)· 2026-11-30 12:30(双端 Jest 有界子集 + 静态页探活)
+
+- 节点:`web-4091` = 本机 opencode(`d:/cfc`,cfclub 主工作树,单任务不并发)
+- 基线:开局 `git pull --rebase` → Already up to date(HEAD `c4072c51d` R696 报告);drift check 0 remote-only;tracked 脏 0(仅恒不 add 的 `.r*` 未追踪产物)
+- 前情:同日 11:00 轮(`report-exec-web-4091-2026-11-30-1100.md`)已用可复用 jest 基建打通前端有界子集;本轮为同子集再实测 + 全量静态探活 + blocker 窗口 src 检查
+
+## 一、依赖探活(P-430-2 复核)
+
+| 轨 | 探活证据(ls/Get-Item) | 判定 |
+|---|---|---|
+| cfc-web | `D:\cfc\cfc-web\node_modules` **不存在**(目录缺失) | 依赖缺失 |
+| cfc-frontend | `D:\cfc\cfc-frontend\node_modules` = **34 字节普通文件**(非目录),内容 = `/app/cfc/cfc-frontend/node_modules`(Linux/Docker 符号链接被摊平为文本);`git ls-files` 显示该文件**被 tracked** | 坏链·依赖缺失 |
+| 根因 | 根 `.gitignore:12` = `**/node_modules/`(尾斜杠仅匹配**目录**);tracked 34B 文件不受其忽略 → P-430-2「fe 34B 坏链 .gitignore:12」仍未修 | 未修(未擅改) |
+| 全局 jest | `where.exe jest` 无命中;npm 全局根存在但无 jest | 无全局兜底 |
+
+**可复用基建(非安装,零副作用)**:`D:\cfc\tests\node_modules\jest\bin\jest.js`(jest 29.7.0)+ `D:\cfc\.r689_exec\jest.fe.contract.config.js`(11:00 轮建,未追踪工作目录,内含 @babel/preset-env + vue 2.7.16 注入)→ **cfc-frontend 有界子集可实测**;**未安装任何依赖、未改源码/用例**。
+
+## 二、套件名 + 命令 + 实测数字
+
+**cfc-frontend 轨(有界子集·已实测)**:爱云医报告 AI 链路 3 契约文件(同 11:00 轮口径)。
+
+```
+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_1230.json
+```
+
+实测(EXIT=0,≈18s,在 30~60s 有界内;json 存 `.r689_exec/jest_fe_1230.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` / Time 9.87s;json `numTotalTests=53 · numFailedTestSuites=0`。
+- 3 个跳过均为用例内有意 `describe.skip`「权限流占位」,非缺陷。
+- 与 11:00 轮数字逐项一致(窗口内 cfc-frontend src 0 提交,仅后端 f03 改动,实测对 HEAD `c4072c51d` 树有效)。
+
+**cfc-web 轨:承袭·未实测(依赖缺失 + 0 适用)**。
+- 证据:`node_modules` 目录缺失(§一);`cfc-web/src/__tests__/` 按本套件 4 键(reportDetail/detectPage/uploadCard/aiyunyi)检索 **0 命中** → 无适用用例,跳过执行(同 11:00 轮 §二 口径)。
+- 实测数字:0 通过 / 0 失败 / 0 跳过(0 适用,未执行)。
+
+## 三、红例清单
+
+**本轮 0 红例**(3/3 套件全绿,无失败断言原文可录)。环境型备注:cfc-frontend 自 R418 起自带 node_modules 不可用(34B 坏链),本轮走 §一 可复用基建,未改任何 tracked 文件。
+
+## 四、静态页探活(双通道,节点侧复核)
+
+| 探针 | 结果 | 备注 |
+|---|---|---|
+| `GET http://cfc.iwintrue.com/frontend` | **302** → `Location: /frontend/`(openresty/1.19.9.1rc1) | 正常尾斜杠重定向,**非 502** |
+| `GET http://cfc.iwintrue.com/frontend/` | **200**(1034B) | 页面通道可达 |
+| `GET .../api/system/health` | **200**,body `code=405`(平台接口统一 POST) | GET 不被支持属约定,非故障 |
+| `POST .../api/system/health` | **200 success**:uptime 4 分钟、启动 12:24:35 CST、java 1.8.0_492、mem 238.2/910.5MB | **health 通道已恢复**(R694 12:12 负责人侧 502 = 后端 12:24 重启窗口内的网关瞬态) |
+
+## 五、长期 blocker 窗口 src 检查(39ab28133..HEAD)
+
+窗口 src 提交 = 后端 only:`TeamShareConfigService#reload`(74404dada)、f03 佣金重算 2 fix(e000c420a/897f51b0d,DatabaseInitializer + CfCommissionRecalcService + 2 单测)、cfc-web changelog auto-bump。**无针对 G-304-1 / B-260-1 / N-R373-1/2 / G9 / B-325-1 的 src 修复** → 恢复信号不成立 → 上述 blocker **承袭·未实测,未跑全量**(仅环境探针 + 窗口检查,按纪律执行)。
+
+## 六、承袭项(标注来源)
+
+| 项 | 处置 | 来源 |
+|---|---|---|
+| 双端 Jest 不可测(node_modules 桩)P-430-2 | 本轮**部分恢复**:fe 有界子集经可复用基建实测 50/0/3;cfc-web 仍依赖缺失 + 0 适用 → 承袭·未实测 | R418 起(11:00 轮 §二/§四) |
+| 浏览器 E2E(frontend-mobile 双 RED 键) | 承袭·未执行(本轮为 Jest 有界子集任务,不自启 E2E、不重派);通道探针 302→200 可达 | 11:00 轮 §四 |
+| 反馈提交 `feedback.consult.submit` 无 Jest 守卫 | 承袭·缺口登记(不代建) | 11:00 轮 §三 |
+
+## 七、commit sha 与纪律
+
+- 本报告提交后 sha 以 `git log -1 --format=%H -- docs/tdd/orchestration/report-exec-web-4091-2026-11-30-1230.md` 为准(report 命中 `.gitignore:160` 系规则,精确 pathspec + `git add -f`,未 add 任何 `.r*`/他人 WIP)。
+- 纪律:未安装依赖、未改 src/main、未改 tests/e2e、未改 blockers.md;`.r689_exec/` 仅追加 `jest_fe_1230.json`(未追踪产物);结束 tracked 干净;收口前再 `git pull --rebase`。
+
+## 八、一句话总结
+
+cfc-frontend 有界子集 3 套件 53 例 = **50 过 / 0 红 / 3 跳**(≈18s EXIT=0,经可复用 jest 基建零安装实测),cfc-web 承袭·未实测(node_modules 缺失 + 0 适用);双通道静态探活 **/frontend 302→200、/api/system/health POST=200(后端 12:24 重启后 uptime 4min,负责人侧 502 判定为瞬态已恢复)**;blocker 窗口 src 无恢复信号,全量未跑。