|
|
@@ -0,0 +1,89 @@
|
|
|
+# 测试负责人汇报 · langgraph+E2E 错峰档(2026-11-28 19:43~19:5x GMT+8)
|
|
|
+
|
|
|
+- **档位**:30 分错峰档 · **A 类(langgraph + 浏览器 E2E 测试,负责派发)** · 测试负责人
|
|
|
+- **执行依据**:tdd-orchestrator SKILL.md「负责人通用收割骨架」S0–S11 + `.tdd/config.json#harvest`
|
|
|
+- **硬约束**:cwd=d:/cfc、主线 cfclub、data_ref=origin/cfclub;S2 失败补跑跳过(标准轮承接);S3 精简盘点(跳 --changes/--clean-check);langgraph pytest 远端 251 执行;凭据不落明文
|
|
|
+- **总时长**:≤20min 硬顶内;无人值守零提问
|
|
|
+
|
|
|
+## 1. 前置与门禁(S0/S1/S3/S3.5)
|
|
|
+
|
|
|
+| 门禁 | 判定 | 证据 |
|
|
|
+|---|---|---|
|
|
|
+| S0 启动前置 | ✅ 全绿 | `git branch --show-current`=cfclub;`rev-list --left-right --count`=0/0;tracked 脏清单=空;.r* 未追踪产物不 add |
|
|
|
+| S1 互斥门 | ✅ PASS | `--mutex-check` verdict=PASS(state mtime 803min、worklog_active=null、无他轮在产) |
|
|
|
+| S2 失败补跑 | ⏭️ 跳过 | 30 分档不承担,标准轮承接 |
|
|
|
+| S3 盘点(精简) | ✅ | `--status`/`--inspect`/`--resume --dry-run`;跳 --changes/--clean-check(标准轮承接) |
|
|
|
+| S3.5 复测门 | ✅ | `--retest-gate`:65 项=28 carry/37 retest;稳态 5 项全 carry(窗口零 src、上次 0.3h<6h);G-301-1(4轮)/G-304-1(32轮) 承袭·未实测 |
|
|
|
+| S4 恢复 | 0 候选 | `--resume --dry-run` 0 恢复/0 跳过 |
|
|
|
+| S5/S6 tick/fill | ⏭️ 跳过 | config `heartbeat.enabled`/`fill_capacity.enabled`=false |
|
|
|
+
|
|
|
+## 2. 本轮数据
|
|
|
+
|
|
|
+| 指标 | 值 | 指标 | 值 |
|
|
|
+|---|---|---|---|
|
|
|
+| 新增用例数 | 0 | 验证执行数 | 44(langgraph pytest) |
|
|
|
+| 用例通过率 | 37/44=84.1%(langgraph) | 分派任务数 | 0(在途 2 已派) |
|
|
|
+| 恢复会话数 | 0 | 当前在用会话 | 2(browser E2E) |
|
|
|
+| 新发现问题数 | 7 红 + EXIT=124 | 已解决/待解决 | 0 / 7(环境型) |
|
|
|
+
|
|
|
+**会话快照**(`--inspect` 核对,每节点单任务不并发):
|
|
|
+
|
|
|
+| 会话标签 | ID | 状态 | 当前任务 | 工作目录 | 备注 |
|
|
|
+|---|---|---|---|---|---|
|
|
|
+| web-189-4090 | ses_de346eccdffe7BQxESA9x3968M | running | S-junit-2 admin E2E | c:/code/cfc | 通道 200,busy |
|
|
|
+| web-4091 | ses_de346ec1cffe6sKCYfDwGrmExP | running | S-junit-3 frontend smoke | d:/cfc | 通道 200,busy |
|
|
|
+| opencode-iwintrue(251) | 直连 /api/shell(非会话) | idle | langgraph pytest | /sc-data/cfc | :9000/health=200,通道 200 |
|
|
|
+
|
|
|
+**git 真理证据**(在途 browser E2E 任务,已推远端 task/* 分支):
|
|
|
+
|
|
|
+| sha | 关联键 | 阶段 | 触及类型 | 分支 | 已推远端 |
|
|
|
+|---|---|---|---|---|---|
|
|
|
+| f3f3e90f2 | web.adminPanel.runE2E | RED | 测试(13 例 12 绿+B1 红) | origin/task/S-junit-2 | 是(tip) |
|
|
|
+| cb9725290 | web.frontendMobile.runSmoke | RED | 测试(6 例全红) | origin/task/S-junit-3 | 是(tip) |
|
|
|
+
|
|
|
+**状态机分布**:RED 2|GREEN 5(admin.auth.login / dan.assessment.getActiveMaterial / guide.trainingPlan.getPlanDetail / health.report.createReport / health.report.upload)
|
|
|
+**S3.5 承袭/复测**:carry 28|retest 37|verdict=mixed|长期 blocker 跳全量复测 2 个(G-301-1/G-304-1,承袭·未实测非通过)
|
|
|
+
|
|
|
+## 3. 专题① langgraph(远端 251,pytest 远端执行)
|
|
|
+
|
|
|
+- **通道探活**:`:9000/health`=200(恢复信号);opencode `/api/shell`(251:4096)=200,直连 shell 执行 OK;langgraph.log 历史 429=0/401=0/ConnectError=0。
|
|
|
+- **执行**:`cd /sc-data/cfc/cfc-langgraph; .venv/bin/python -m pytest tests --ignore=tests/qna -q`(timeout 700 强杀,B-325-1 EXIT=124 口径)。
|
|
|
+- **结果**:**7 failed / 37 passed / 44 total / 129.96s**;**EXIT=124(timeout 触发)**;日志 **429=9 / 401=5 / ConnectError=0**。
|
|
|
+- **7 红例**:`test_auto_tag`×3(content_relevance/short_content/empty_content)· `test_chat_endpoint`(500≠200)· `test_intent`×3(classify_analysis/recommend/mind)。
|
|
|
+- **定性(红例分组)**:429=9≠0 → **B-325-2 配额族在场(不排除)**(AgnesAI free-user rate limit);401=5 → api key `****ab12` invalid(B-401 族)。7 红例日志均伴随 429/401(intent/summarize/chat_graph 均报 429 RateLimitError、chat_graph 召回/保存记忆 401)→ **全部环境型(AI 配额/鉴权),非代码型**;据此不做逐例复跑(429>0 已确认环境根因,复跑必复现)。
|
|
|
+
|
|
|
+## 4. 专题② 浏览器 E2E(189/本机,每节点单任务)
|
|
|
+
|
|
|
+- **通道探活**:web-189-4090(189:4090)=200、web-4091(本机 4091)=200,两通道均可达 → 不触发「承袭·未实测(通道不可达)」。
|
|
|
+- **在途交付核验**(get_messages 下探,busy + 消息命中):
|
|
|
+ - **S-junit-2**(admin E2E @ 189):RED 契约级单测已提交推送;会话产出 admin E2E 13 例(12 绿 + B1 红,B1 为预期契约红);已 push `origin/task/S-junit-2`。
|
|
|
+ - **S-junit-3**(frontend smoke @ 本机):RED 确认 6/6 全红;产物门禁过(main 2269→class 2487,109.6%≥90%);已 push `origin/task/S-junit-3`。
|
|
|
+- **本档未重复派发**:两任务在途 busy、通道可达,按「不重复派发」纪律零新增派发。
|
|
|
+
|
|
|
+## 5. 向研发提出的改进建议
|
|
|
+
|
|
|
+| 序号 | 问题 | 根因 | 建议 | 优先级 | 状态 |
|
|
|
+|---|---|---|---|---|---|
|
|
|
+| 1 | langgraph 7 红例全环境型,AI 配额/鉴权阻断 | AgnesAI free 档 429 限流 + api key `****ab12` 401 失效 | 切付费档或轮换有效 api key,401 配置项入环境变量校验 | P1 | 待评估 |
|
|
|
+| 2 | langgraph pytest EXIT=124(timeout 700 强杀) | 全量 suite 存在慢尾/挂起用例 | 定位慢尾用例加 mock 边界,缩短单轮 wall time | P2 | 待评估 |
|
|
|
+
|
|
|
+## 6. 本轮阻塞与风险
|
|
|
+
|
|
|
+| 阻塞项 | 影响范围 | 类型 | 进展 | 需要协调 |
|
|
|
+|---|---|---|---|---|
|
|
|
+| langgraph AI 端点 429+401(9+5 次) | AI 依赖 langgraph 测试(auto_tag/intent/chat) | 测试(环境) | 待响应 | 研发侧更换有效 api key / 提额 |
|
|
|
+| B-325-1 EXIT=124 timeout 族 | langgraph 全量 suite 收敛 | 测试(环境) | 承袭 | 与建议2联动 |
|
|
|
+
|
|
|
+## 7. 下轮工作计划
|
|
|
+
|
|
|
+| 计划项 | 预计完成 | 前置依赖 | 备注 |
|
|
|
+|---|---|---|---|
|
|
|
+| S-junit-2/3 研发侧 YELLOW 实现使绿 | 下标准轮 | 研发处理契约红 | 已推 task/* 分支待研发承接 |
|
|
|
+| langgraph api key 换新后重跑 51 例 | 下 langgraph 档 | 建议P1 落地 | 429 归零时排除 B-325-2 族 |
|
|
|
+
|
|
|
+## 附录 C 新问题(变化项)
|
|
|
+
|
|
|
+- **L-251-1943**:langgraph 7 红(429×9/401×5,环境型 AI 配额/鉴权)+ EXIT=124 timeout;证据 `/tmp/r_lg_harvest.log`@251;429>0 → B-325-2 族不排除;已定性环境型,未做逐例复跑(根因明确)。
|
|
|
+
|
|
|
+---
|
|
|
+**版本**:v1.2 模板 · 正文 ≤120 行 · 仅报告文件本档收口,不夹带他档产物
|