ソースを参照

test(orchestration): R-20261206-0835 web-4091 有界子集执行汇报(静态页探活 200/1034B+722B·登录冒烟TC-F-U05通过·Jest单文件6红TDD-RED·6blocker承袭·ai超时)

E2E Test Bot 4 時間 前
親
コミット
4fa477c9d3

+ 60 - 0
docs/tdd/orchestration/report-exec-web-4091-2026-12-06-0835.md

@@ -0,0 +1,60 @@
+# 测试执行报告 · web-4091(本机 frontend)· R-20261206-0835
+
+- 时间:2026-12-06 08:35 档(本机 D:\cfc @ cfclub)
+- 基线:HEAD `9c4953d9de30843af204772c3cd4ca3a4162b968` = `origin/cfclub`(git pull --rebase 无提交可拉取)
+- 执行纪律:Jest/Playwright/curl 后台/单任务;未改 src、未改用例;凭据仅环境变量注入。
+
+## 1. 套件 + 命令 + 实测数字
+| # | 套件 | 命令 | 实测 | EXIT |
+|---|---|---|---|---|
+| 1 | cfc-frontend Jest(单文件 `task-today-overdue-visible.contract.test.js`) | `npx jest ... --json` | **1 套件 4 过 / 6 红**;10 例 **4 过 / 6 红 / 0 跳** | 1 |
+| 2 | cfc-frontend 登录冒烟 (TC-F-U05) | `npx playwright test ... --grep "TC-F-U05"` | **1 例 通过**(16.2s,未登录态「我的」页出现登录/注册入口) | 0 |
+| 3 | 静态页探活 / 环境探针 / 登录冒烟 API 级 | `powershell .r4091d_probe.ps1`(curl -m 15) | 见下表(15 探针) | — |
+
+### 1.3 探针实测(curl,硬超时 15s)
+| name | method | url | result (code bytes time) | 备注 |
+|---|---|---|---|---|
+| ENV_health_POST_1 | POST | http://cfc.iwintrue.com/api/system/health | **200 318 9.47s** | 第 1 次冷启动 9.47s,后续 <0.2s |
+| ENV_health_POST_2 | POST | http://cfc.iwintrue.com/api/system/health | **200 318 0.10s** | 网关恢复 200·317B(startTime 03:34:58)确认 |
+| ENV_health_POST_3 | POST | http://cfc.iwintrue.com/api/system/health | **200 318 0.12s** | 稳态 |
+| ENV_ai_api_system_health | POST | https://ai.etotem.com.cn/api/system/health | **000 0 15.01s** | 超时(LangGraph 形态沿承,不计网关恢复) |
+| ENV_ai_health | GET | https://ai.etotem.com.cn/health | **000 0 15.03s** | 超时 |
+| STATIC_frontend_slash | GET | http://cfc.iwintrue.com/frontend/ | **200 1034 0.07s** | 与 R-0541 完全一致 |
+| STATIC_admin_slash | GET | http://cfc.iwintrue.com/admin/ | **200 722 0.06s** | 与 R-0541 完全一致 |
+| STATIC_frontend_noslash | GET | http://cfc.iwintrue.com/frontend | **302 154 0.06s** | 无尾斜杠 302 补斜杠 |
+| STATIC_admin_noslash | GET | http://cfc.iwintrue.com/admin | **302 154 0.07s** | 无尾斜杠 302 补斜杠 |
+| ASSET_frontend_js_index | GET | .../index.5a39555c.js | **404 162 0.06s** | 哈希变更(部署批次漂移) |
+| ASSET_frontend_js_vendors | GET | .../chunk-vendors.bb82fd86.js | **200 660KB 0.07s** | 主 bundle 可用 |
+| ASSET_frontend_css_index | GET | .../index.css | **404 162 0.07s** | 哈希变更 |
+| BLK_B2601_agreement | GET | http://cfc.iwintrue.com/web/agreement.html | **404 107 0.32s** | B-260-1 法务页仍 404(持续) |
+| LOGIN_auth_info_anon | POST | http://cfc.iwintrue.com/api/auth/info | **200 44 0.16s** | 匿名鉴权错误(预期) |
+| LOGIN_silent_login | POST | http://cfc.iwintrue.com/api/auth/silent-login | **TIMEOUT (15s)** | 端点慢/异常(需排查) |
+
+## 2. 红例清单(失败断言原文 + 归因)
+### 2.1 cfc-frontend Jest (task-today-overdue-visible.contract.test.js) - 6 例(TDD-RED 预期失败)
+- **后端 status 白名单须含 "overdue"** (Code): `Error: expect(received).toBe(expected) | Expected: true | Received: false` (TDD-RED:TaskService.java 白名单未加 overdue)
+- **家族口径 status 白名单须含 overdue** (Code): `Error: expect(received).toBe(expected) | Expected: true | Received: false` (TDD-RED:getTodayTasksByFamily 白名单未加 overdue)
+- **前端 _isOverdue 置 true** (Code): `Error: expect(received).toBe(expected) | Expected: true | Received: false` (TDD-RED:index.vue loadTodayTasks 未标记 _isOverdue)
+- **前端 v-if="hasPendingTasks" 门控** (Code): `Error: expect(received).toMatch(expected) | Expected pattern: /v-if="hasPendingTasks"/ | Received string: "·` (TDD-RED:模板门控未落地)
+- **前端 task-quick-item--overdue class** (Code): `Error: expect(received).toMatch(expected) | Expected pattern: /task-quick-item--overdue/ | Received string: "·` (TDD-RED:模板 class 未落地)
+- **前端 _isOverdue=true 时只显示 badge 隐藏完成按钮** (Code): `Error: expect(received).toMatch(expected) | Expected pattern: /class="[^"]*status-badge-overdue[^"]*"[^>]*>.*?已超期/ | Received string: "·` (TDD-RED:v-else 互斥渲染未落地)
+
+### 2.2 承袭项(6 长期 blocker,连续 ≥3 轮同结果)
+| Blocker | 本轮探针 | 状态 |
+|---|---|---|
+| G-304-1(跨家庭越权 7 点位) | 窗口 src=0;无定向探针 | **承袭·未实测** |
+| B-260-1(法务页 404) | `/web/agreement.html` **404**(复证) | **承袭·未实测** |
+| B-325-1(lg pytest 挂起) | 本轮未跑 lg pytest | **承袭·未实测** |
+| N-R373-1(网关 502) | health POST 200/318B(第 7 轮复证,502 未现) | **承袭·未实测** |
+| N-R373-2(lg 上游 ConnectError) | `ai.etotem.com.cn` 超时(上游未通) | **承袭·未实测** |
+| G9(覆盖率 0%) | 窗口 src=0 | **承袭·未实测** |
+
+恢复信号判据:health 200 **且** 窗口(2026-12-05 00:00 起)有针对该 blocker 的 src 提交。`git log --since=2026-12-05` 仅 9 笔提交(小程序美化、task 填写式、nginx 超时、品牌色回退、测试文件),**无 6 blocker 定向提交** → 条件②不成立。
+
+## 3. 版本管理
+- 开工 `git fetch origin cfclub`:HEAD `9c4953d9de30843af204772c3cd4ca3a4162b968` == `origin/cfclub`,`git pull --rebase` no-op。
+- tracked 脏文件:`.gitignore` (已修正,报告文件排除)。
+- 收尾:`git add -f docs/tdd/orchestration/report-exec-web-4091-2026-12-06-0835.md .gitignore`,commit,push。
+
+## 4. 一句话总结
+本机完成 1 E2E 冒烟(TC-F-U05 通过);前端 Jest 关键 TDD-RED 规范测试 **6 例失败**(均因实现未落地,符合 TDD-RED 预期);静态页探活与 R-0541 字节一致,**网关 health 200·318B 恢复确认**;**ai.etotem.com.cn 仍超时(LangGraph 不可达)**,**B-260-1 法务页 404 持续**,**LOGIN_silent_login 15s 超时**;6 长期 blocker **全部承袭·未实测**(窗口 src=0)。