|
@@ -0,0 +1,79 @@
|
|
|
|
|
+# TDD 测试负责人收割汇报 · R694 · 2026-11-30 11:37 档(langgraph+E2E 错峰档)
|
|
|
|
|
+
|
|
|
|
|
+> 角色:测试负责人(纯调度 + 验收);cwd `d:/cfc`;主线 `cfclub` / `data_ref=origin/cfclub`。无人值守零提问。
|
|
|
|
|
+
|
|
|
|
|
+## 1. S0–S3.5 门禁与盘点
|
|
|
|
|
+- **S0 三查(11:37 开工,三查 <60s)**:`cfclub` 分支 ✓;HEAD vs origin/cfclub `0 0`(零漂移,无 rebase);tracked 脏 0(743 未追踪 `.r*` 零触碰);开工 HEAD `2a05337e1`=origin(含 R689 报告 11:33 已推)。
|
|
|
|
|
+- **S1 互斥门**:`--mutex-check` **PASS**(reason=无他轮在产;state 龄 1180.4min;worklog null;locks `{}`;slot UNUSED;S1/S3.5 轮首一次固化,全程不重判)。
|
|
|
|
|
+- **S2 失败补跑**:最近 report-dev-2026-11-30-1100.md 11:08(约 40min 前),未超 `report_stale_hours=2`,无补跑(错峰档亦不承接 S2,标准轮承担)。
|
|
|
|
|
+- **S3 盘点**:`--status` RED 2 / GREEN 5 / 目标池 0 键 / 部署在途 0;`--inspect` 7 节点配额 0~2 busy(上限 3);`--resume --dry-run` 候选 0;错峰档**精简盘点**(跳 `--changes`/`--clean-check`,由标准轮承接)。
|
|
|
|
|
+- **S3.5 复测门**:`--retest-gate` total 65 / carry 0 / **retest 65**(窗口 src 变更信号),**verdict=RETEST_REQUIRED**。但本档非实测档,稳态项「静态页探活/SRS 闸门/覆盖率分子分母」标 verdict=retest 而本档不代跑(标准轮承接),本档专题见 §4;本档不预支通过。
|
|
|
|
|
+
|
|
|
|
|
+## 2. 窗口核验(R683 收口 `0cbd131d9` → 开工 `2a05337e1`,权威目录级 diff)
|
|
|
|
|
+- `git diff --name-status`:**变更轮**。后端 `cfc-backend/src/main` **45 文件**(DatabaseInitializer/Energy/HealthReport/NotificationSetting★/AdminFamilyOverview/AIChat/Butler/GrowthPlan★/Points/ReportFeedback + Service 层 15 + `FoodProcessingEffect`/`FoodDiseaseWeightGroup`/`GrowthPlanVersion`/`NotificationSetting`★ 新实体/mapper/DTO);`cfc-backend/src/test` **6 文件**(CfReferralWeightedPpoints/AsOfPaidAt/F03TierSeed/TaskReminderDailyConfigContract/TaskReminderDailyScheduledTaskContract + `Tier1980Test`★ 新增);`cfc-frontend` pages/health/ai-report-detail.vue★ + `ChildTaskExpiryReminder.contract.spec.js`★;`cfc-web/src` FamilyWorkbench.vue + `AllTasksMemberScope.contract.spec.js`★;其余 docs/CHANGELOG/auto bump。
|
|
|
|
|
+- 结论:**Java src/test 与前端生产 src 均有变更** → 按 mandate 后台实跑编译(§4)。
|
|
|
|
|
+- 相关 src 提交:`6d4f43982`(fix f03 档位 P点→实付金额) `3531e6814`(档位门槛迁移) `bed17d077`(S-cfc-491 反馈脱敏/转人工/越权403) `bdc748684`(S-cfc-487 notification.setting.config) `41cd367a0`(family_members.id 口径) `8f5ce5359`(重算逐笔 delta 日志) `00a4bd76c`(直推权重 90%) `934732b8f/54320fdea`(auto bump)。
|
|
|
|
|
+
|
|
|
|
|
+## 3. S4 恢复 + 配额(错峰档)
|
|
|
|
|
+- `--resume --dry-run` 候选 0(无 interrupted/wedged)。
|
|
|
|
|
+- 配额 snapshot(per-node 上限 3):`web-189-4090` busy1剩2 · `lan-204` busy0剩3 · `lan-248` busy1剩2 · `opencode-iwintrue(251)` busy1剩2 · `pub-iwintrue` busy1剩2 · `web-189` busy1剩2 · `web-4091` busy0剩3。`session_concurrency=1`(跨项目);`agent_session_limit=3`。
|
|
|
|
|
+
|
|
|
|
|
+## 4. 编译实测(本档专题,按 mandate 变更轮强制实跑)
|
|
|
|
|
+- 命令:`cd d:/cfc/cfc-backend && timeout 560 mvn -o -B -q clean test-compile`(后台防 SIGTERM,PID 1863,日志 `/tmp/r694_compile.log`)。
|
|
|
|
|
+- 结果:**BUILD SUCCESS / EXIT=0**(日志全文仅 `EXIT=0`,无 `[ERROR]`)。产物核验:
|
|
|
|
|
+ - main `.class`=**2522**(main `.java`=2301,比值足=产物齐全;`.class` 含内部类故 `.class` > `.java`,属正常)
|
|
|
|
|
+ - test `.class`=**695**(较 R679/R683 基线 **693 → +2**,`Tier1980Test`★ 新增测试类确认,test 源 `.java`=644)
|
|
|
|
|
+- **数值变化:test `.class` +2**(非缺陷,新测试类 `.class` 产物确认)→ 按 mandate「有数值变化→commit+push」通知研发,本报告本段即通知内容(已入库 cfclub)。
|
|
|
|
|
+- 双端 Jest 承袭:P-430-2 **第 47 轮不可测**(cfc-web 无 node_modules / fe 34B 坏链 / `.gitignore:12` 未修);G9 承袭 web L11.46%(244/2128) / fe L55.13%(1648/2989)(前端 src 窗口内已变更但无实测通道,连续零漂移口径延续)。
|
|
|
|
|
+
|
|
|
|
|
+## 5. S7 三类实事派发链(负责人零实事,建账本→投递→验收)
|
|
|
|
|
+- 在途账本(12 条):11 dispatched + **1 pending `disc-20261130-1111-a`**(R689 跳过遗留)。
|
|
|
|
|
+- 本档动作:对 pending `disc-20261130-1111-a` 走 dry-run(`verified=true`,prompt 1570字,零副作用)→ **正式投递**:
|
|
|
|
|
+ - `python d:/cfc/.workbuddy/dispatch.py --task disc-20261130-1111-a --instance opencode-iwintrue --json`
|
|
|
|
|
+ - 结果:**OK `ses_dd56d3d99ffeEwUKImI9e5Ojs1`**,`verified=true`,账本回写 `status=dispatched / dispatched_at=2026-11-30 11:49:51`。
|
|
|
|
|
+- **③ 验收(busy + 消息命中)**:`OpenCodeClient.get_messages(sid)` 返回 **14 条**;`list_sessions` 命中该 sid 且 `time.busy` 时间戳存在(updated > created);末条消息首行 `【编排派发|需求发现(Requirement Discovery)…】` 与 `TASK-discovery-2026-11-30-1111.txt` prompt 一致 → **通过**(非「0 会话当成功」)。
|
|
|
|
|
+- 其余 3 类实事(testcase/testexec)本档不重复入账:`tc-20261130-1111-a`(lan-248) / `tex-20261130-1111-a`(251) 已在途,无新 git 证据回收(commit log 无 `tc-`/`tex-` tid grep 命中),按纪律**只报不动**,不预支通过。
|
|
|
|
|
+- 派发总结:**1 单投递成功,0 单失败,0 单跳过**(对比 R689 1跳过已回收)。
|
|
|
|
|
+
|
|
|
|
|
+## 6. 20 类测试覆盖矩阵(承袭基线,本档非实测;仅编译有数值变化 test `.class` +2)
|
|
|
|
|
+| 类 | 三态 | 类 | 三态 |
|
|
|
|
|
+|---|---|---|---|
|
|
|
|
|
+| 单元测试 | 已发现·编译实测通过(2522/695) | 集成测试 | 已发现·承袭未实测 |
|
|
|
|
|
+| 系统测试 | 已发现·承袭未实测 | 验收 UAT | 待核实(strict 27/243) |
|
|
|
|
|
+| BDD 规格 | 未发现 | 冒烟测试 | 已发现·承袭未实测 |
|
|
|
|
|
+| 回归测试 | 已发现·承袭未实测 | 探索性测试 | 未发现 |
|
|
|
|
|
+| 自动化测试 | 已发现·承袭未实测 | 性能测试 | 已发现·承袭未实测 |
|
|
|
|
|
+| 可靠性测试 | 待核实 | 安全测试 | 已发现·承袭未实测 |
|
|
|
|
|
+| 兼容性测试 | 已发现·承袭未实测 | 可用性测试 | 未发现 |
|
|
|
|
|
+| 无障碍测试 | 未发现 | QA 流程 | 已发现·承袭未实测 |
|
|
|
|
|
+| 质量指标 | 已发现·承袭未实测 | 代码审查 | 待核实(本档不做专项) |
|
|
|
|
|
+
|
|
|
|
|
+## 7. 五要素问题清单(本档新增)
|
|
|
|
|
+1. **问题描述**:编译实测 test `.class` 数值从 693 → 695(+2)。
|
|
|
|
|
+2. **测试 bug 点**:`Tier1980Test.java`★ 新增(`git log --grep=Tier1980 --format=commit`),对应 `00a4bd76c fix(f03) 直推权重改回 90%` 与 `3531e6814 feat(f03) 档位门槛迁移` 变更轮的契约新增。
|
|
|
|
|
+3. **最优修改方案**:新 `.class` 产物已在远端(编译 EXIT=0,比值足),通知研发即可,无需测试侧动作;下轮如进入 surefire 执行档再纳入实际单测回归。
|
|
|
|
|
+4. **修改目的**:对齐「编译零漂移」基线,避免下一档误判为「数值漂移」而重复实跑;对齐 mandate「有变化必须 commit+push 通知」。
|
|
|
|
|
+5. **修改后闭环**:本报告 `git add -f` 入库 + push,下一档按 git 证据回收,可关闭该问题(新测试类归属 `Tier1980Test` 已由编译产物确认)。
|
|
|
|
|
+
|
|
|
|
|
+## 8. 阻塞与风险(承袭)
|
|
|
|
|
+- 长期 blocker(连续 ≥3 轮同结果,本档标 **承袭·未实测**):`G-304-1` / `B-260-1` / `N-R373-1/2` / `G9` / `B-325-1` / `S1-1·R203` —— 网关 health POST 200 仅单信号,窗口内 src 提交均**非针对性**(修复 0),恢复信号不成立,跳过全量复测,不代判修复。
|
|
|
|
|
+- 研发阻塞(2 条,due 2026-12-01):`web.adminPanel.runE2E` / `web.frontendMobile.runSmoke` —— 红测已交付但实现未落地,停留超 72h,仅研发可解除;本档只报不动。
|
|
|
|
|
+- **重启族 P-694-1(P0 延续)**:health 200 但 `startTime=Mon Nov 30 11:45:03`、`uptime=10 分钟`、`memUsed 225.3MB / 23.8%`、`memMax 945.0MB`、`cpuCores=48 / cpuLoad 9.32 / Java 1.8.0_492 / os el8`;对照 R689 11:33 报告推得前一实例起点约 11:33,本档观测 startTime=11:45:03(新换代,约 12min),**未达 2h 稳态**,疑 auto-deploy(`934732b8f/54320fdea` auto bump)触发,止稳 0/3。
|
|
|
|
|
+- 双端 Jest P-430-2 第 47 轮不可测(cfc-web 无 node_modules / fe 34B 坏链 / `.gitignore:12`);报告断链债务 P-430-1 延续(本档报告被 `.gitignore:160` 拦截,用 `-f` 强制入库以避免债务 +1)。
|
|
|
|
|
+
|
|
|
|
|
+## 9. S9–S11 收口与门禁
|
|
|
|
|
+- **只写本汇报文件**(≤120 行);`git add -f -- docs/tdd/orchestration/report-test-2026-11-30-1137.md`,单笔 commit `R694: test-lead closed-loop dispatch (disc-1111-a 投递成功, 编译 test.class+2)`,push 至 `origin/cfclub`;复核 `git rev-list` 收口 0 0 + tracked 干净。
|
|
|
|
|
+- `.r*` 与 743 未追踪产物零触碰;未改生产源码 / `state.json` / `blockers.md`;未 `mark-*` / `deploy-done` / `merge-to-main`;无人值守零提问、零凭据明文;未跑全量复测(65 retest 由标准轮/实测档承接),本档不预支通过。
|
|
|
|
|
+- `.tdd/` 本地私有禁推;`tasks.json` 仅本地账本(编排侧唯一写入方)。
|
|
|
|
|
+
|
|
|
|
|
+## 10. 门禁结论
|
|
|
|
|
+- **本档专题:有条件通过(编译实测 EXIT=0 + `disc-1111-a` 投递成功 + 验收 busy+消息命中)**。
|
|
|
|
|
+- **整体门禁:不通过(有条件)** —— 编译零缺陷(test `.class` +2 为新测试类确认,非漂移)但双端 Jest 第 47 轮不可测 + 重启族 P-694-1 新换代未达 2h 稳态 + 2 条研发阻塞停留超 72h + 7 长跑 blocker 承袭未实测。
|
|
|
|
|
+- **复评条件**:① 窗口内出现 Java src/test 或前端生产 src 变更;② 满 6h 强制实跑;③ 7 blocker 窗口针对性 src 恢复信号(`git log --grep=<key>` 命中);④ `P-694-1` 重启族 uptime 达 2h 止稳;⑤ `web.adminPanel.runE2E` / `web.frontendMobile.runSmoke` 实现落地。
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+
|
|
|
|
|
+**报告文件**:`docs/tdd/orchestration/report-test-2026-11-30-1137.md`(将 `git add -f` 提交)
|
|
|
|
|
+**派发产出**:`disc-20261130-1111-a` → `ses_dd56d3d99ffeEwUKImI9e5Ojs1`(opencode-iwintrue),14 消息、busy 在产。
|
|
|
|
|
+**编译实测**:`/tmp/r694_compile.log` EXIT=0;main 2522 / test 695(test 基线 693 → +2,`Tier1980Test` 新测试类产物确认)。
|
|
|
|
|
+**下一轮续办**:本档投递产出(disc-1111-a)由下轮按 git 证据回收;tc/tex 在途任务完成回收;标准轮承接 S2/S3 全量/`--changes`/`--clean-check`。
|