automation-run-2026-11-18-R290.md 8.1 KB

浠艾福(XAF)每小时测试闭环报告 · R290(执行纪实)

  • 轮次:R290(前序 R289 于 2026-11-18 07:04 收尾;本轮 07:06 启动)
  • 角色:软件测试专家团主理人 陆谨(测试负责人)
  • 执行档:review(内网 /admin + /frontend + 测试目录用例编写已授权;公网/execute 未授权)
  • 工作分支 = cfclub;起始 sha def659715;窗口 = 1 commit(docs 回填 sha,零 src/零 SRS/零用例);结束 sha 见 §11;收尾 0 0
  • 结论:⛔ 不通过(有条件)—— 🟢 lg 43/43 连续 2 轮(B-142-2 达标 2/2)+ 189 首跑 5/5 连续 2 轮(B-288-1 达标 2/2)+ API 双跑 0 未执行(B-254-1 收复 1/2)+ G-285-1 度量口径闭环;🟡 :56/:116 严格互斥(G-286-1 定性升级);零新增真实红

本文件为执行纪实(时间线 / 命令 / 证据路径 / 结果);结论性内容以同目录 orchestration/report-test-2026-11-18-R290.md 为准。


1. 分支纪律核验(最高优先级,先于一切测试动作)

核验项 结果
git rev-parse --abbrev-ref HEAD(启动) cfclub ✅
git rev-list --left-right --count HEAD...origin/cfclub(启动) 0 0 ✅
起始 sha def659715bcbda2e7d814517907a0f51fc9cbb1f ✅
工作区状态 tracked 空;untracked 为历史 .r*/、jest json、派发脚本 → 未覆盖/未提交/未丢弃 ✅
cfclub worktree 占用 仅主树 D:/cfc;其余均 task/*/test-lead-R2xx/detached ✅
origin http://git.iwintrue.com/liaoxg/cfc.git ✅

2. 执行时间线与命令(三节点 · 每节点单任务)

时刻 动作 命令 / 脚本 结果落盘
07:06 分支 + 窗口判定 git rev-parse --abbrev-ref HEAD;git rev-list --left-right --count;git diff --name-only def659715..HEAD → 1 commit docs-only,SRS 闸门 CLOSED —
07:07 网关 + 节点探活 curl direct-register/user/info/admin/frontend;189:4090 / 204:4091 / 251:4096 全通
07:10 三节点派发 _r290_189_admin.cjs(reset --hard origin/cfclub + --project=admin-desktop);_r290_204_frontend.cjs(pull --ff-only + --project=frontend-mobile);251 会话壳 outcome=failed(B-224-5)→ 改用 _r290_251_run.cjs(opencode SHELL 直跑 pytest) .r290_189_admin_dispatch.log / .r290_204_frontend_dispatch.log / .r290_251_lg_run.log
07:10 匿名探针 node tests/_r288_anon_probe.cjs .r290_anon_probe.log(3/8=200)
07:10 后端 test-compile mvn -o -q test-compile .r290_backend_compile.log(EXIT 0,2m05s)
07:11 双端 Jest npx jest --runInBand --silent --json(web + fe) .r290_jest_web.json(150/10/160)/ .r290_jest_fe.json(663/4/12/679)
07:13 本机 live 六套串行 _r290_live_local.sh(shop → admin → fe → legal → auth → dx) .r290_live_local.log(22/9/2)
07:13 web coverage npx jest --runInBand --silent --coverage .r290_web_coverage.log(11.55%,263/2278)
07:14 后端定向主批 8 类 mvn -o surefire:test -Dtest=ResourceBeanNameCollisionGuardTest,EnergySystemFlowTest,GuideModuleIntegrationTest,OrchestrationEngineTest,OrchestrationIntegrationTest,MembershipPaySwitchTest,PaymentServiceORDRoutingTest,WebConfigGrowthExcludeRemovedTest .r290_backend_targeted.log(38 = 11F+3E+1跳)
07:19 后端补批 2 类 mvn -o surefire:test -Dtest=UserServiceWechatLoginTest,UserServiceWechatLoginContractTest .r290_backend_wechatlogin.log(11 = 7E)
07:19 线上 API 首跑 _r290_api_redchain.sh(9 文件点名,--output=.tdd/r290_api_out) .r290_api_redchain.log(62 = 41/21/0 未执行,10.4m)
07:28 线上 API 复跑 同脚本第二段(--output=.tdd/r290_api_iso_out) .r290_api_redchain_retry.log
07:21 251 lg 取回 _r290_251_run.cjs 轮询 shell → ---SUMMARY--- 段 .r290_251_lg_run.log(43 passed,217.21s)
07:2x G-285-1 闭环 新建 tests/scripts/sc-coverage.js(三口径 + 两列历史误用诊断),复跑两次逐位一致 L1 223/243=91.8% / L2 218/243=89.7% / L3 20/227=8.8%
07:3x 收尾四件套 报告 + 纪实 + 通知 + 台账 R290 段 + 脚本 → commit + push 见 §11

纪律要点:189/204 每节点单任务;251 lg 分派到 251 节点;首跑+复跑双跑取证;本轮 251 会话壳失败后改走 shell 直跑(不再依赖会话壳 outcome)。


3. 本轮实测结果

项 结果 vs R289
网关健康 200 / 401 / 302 / 302 🟢 第 6 轮稳定
cfc-web Jest 150/10/160 零漂移
cfc-frontend Jest 663/4/12/679 零漂移
cfc-web 覆盖率 11.55%(263/2278)/ Branch 8.65% / Func 8.68% 逐位同
backend test-compile EXIT 0 持平
backend 定向主批 38 = 11F+3E+1跳(8 类) 逐类零漂移
backend 微信登录 11 = 7E(2 类) 逐类零漂移
189 admin 5/5 首跑(1.3m,HEAD def659715,DIRTY 173) 🟢 连续第 2 轮
204 frontend 6/6(58.7s) 🟢 第 29 轮
251 langgraph 43/43(217.21s,EXIT=124 收尾挂起) 🟢 连续第 2 轮
本机 live 22 过 / 9 红 / 2 跳 完全一致
线上 API 首跑 62 = 41 过 / 21 红 / 0 未执行(10.4m) 🟢 未执行 15→0
线上 API 复跑 62 = 41 过 / 21 红 / 0 未执行(10.7m) 🟢 20 例稳定红零漂移;:56/:116 互斥对换
匿名探针 3/8=200 🔴 第 65 轮
SC 三口径 91.8% / 89.7% / 8.8% 🟢 首次可复现

4. 本轮新增测试资产

tests/scripts/sc-coverage.js(约 160 行,只读、幂等、--json 可机读):

  • L1 台账三流:分母 = sc-key-map.md 表格内 SC;分子 = 三流 TC 齐备数 → 223/243;
  • L2 执行资产引用:分母同上;分子 = 前端(tests/e2e、tests/e2e-live、cfc-web/src/__tests__、cfc-frontend)+ 后端 cfc-backend/src/test/java 任一文件显式引用 SC 编号 → 218/243;
  • L3 需求回链:docs/需求分析 + specs 中提及 SC 的文件占比 → 20/227;
  • 诊断列:withLedgerMd(171/243=70.4%,历史 69.5% 来源)与 wholeTestsDir(243/243=100%,历史 246/246 来源),仅用于解释历史数字,禁止作为达标口径。

根因:历史 L2 漏扫 cfc-backend/src/test/java(SC 主要承载方),把后端契约已覆盖的场景误判为未覆盖;「69.5%」还把用例台账 md 当成执行资产。


5. 回归判定

  • 窗口 1 commit(docs 3 行)→ 零 src 回归;
  • API 首跑红集 21 例全部落在既有缺陷族:B-275-1(energy:131、c14:38/175、incentive:27、wish:89)、B-275-2(c14:108/191、incentive:61、wish:175)、B-275-3(wish:229/262、checkin:53、coach:38)、B-280-1(badge:73/80、checkin:34/46)、B-267-1(task-create:116);
  • 双端 Jest 14 红、后端定向 14 红 + 7E、本机 legal 6 / auth 3 红与 R289 逐例一致。

6. 用例编写产出(SRS 闸门)

  • 闸门 CLOSED:窗口 + 近 26h 对 SRS.md / docs/需求分析/** / specs/** / API_REFERENCE.md / tests/test-cases/** / tests/user-scenarios/** 零命中 → 无需求变更,跳过用例编写。
  • 新增的是度量脚本(非用例),用于让覆盖口径可复现。

7. 门禁结论

⛔ 不通过(有条件) —— 通过:G3/G4/G5/G6/G10/G12/G13 第 91 次/G14;销号:B-142-2、B-288-1(各达标 2/2);未达标:G2/G7/G8(第 65 轮)/G9/G11;新增观察:G-290-1(16 个零执行资产 SC)、G-290-2(4 个台账未登记)。


8. 收尾证据

  • 工作分支 cfclub;起始 def659715;结束 c11f8f8d6(已推 origin/cfclub,92c23c3a2..c11f8f8d6);HEAD...origin/cfclub = 0 0;PUSH OK。
  • 写入:docs/tdd/orchestration/report-test-2026-11-18-R290.md、本纪实、docs/tdd/notice-2026-11-18-R290-研发通知.md、docs/tdd/test/blockers.md R290 段、tests/scripts/sc-coverage.js。
  • 通知通道:Agent Mail not_bound(第 21 轮)→ 仓库通知 + 台账 + commit + 推送。