automation-run-2026-11-10-R123.md 3.9 KB

自动化执行记录 · 第 123 轮(2026-11-10 12:35~13:30)

环境探针(本轮新增前置步骤,B-123 处置)

java version "1.8.0_25"           JAVA_HOME=D:\jdk1.8.0_25
Apache Maven 3.6.1                Maven home: D:\maven\apache-maven-3.6.1
D: 294G total, 93G avail (69%)

结论:本机 Maven / JDK 完全可用。R122「本机无 Maven」第 4 次误判被推翻。

基线

项 值
分支 cfclub
起点 HEAD 568cecac6
收尾 HEAD 568cecac6(工作区仅 3 项未跟踪)
收尾远端 origin/cfclub = f93992fd2(+3 提交,全为 docs / auto bump,零源码)
隔离树 未使用(工作区已跟踪文件 0 修改,直接在本工作区执行)

执行清单

步骤 命令 结果
后端全量 mvn -o -B clean test 2865 例 / 2828 过 / 30F+3E+4S / 48:05 / XML 339-339
管理端 cd cfc-web && npx jest --silent 17 套 / 116 例 / 116 过 / 25.8s
小程序 cd cfc-frontend && npx jest --silent 26 套 / 426 例 / 423 过 / 3 skip / 17.4s
根级 cd tests && npx jest --silent 3 套 / 23 例 / 7 过 / 16 红 / 11.0s
浏览器 live npx playwright test -c playwright.config.live.js --output=/d/cfc/_r123_pw_live 15/15 / 2.5m
浏览器 health npx playwright test -c playwright.config.health.js --output=/d/cfc/_r123_pw_health 13/13 / 7.2s
langgraph@251 POST /api/shell?location[directory]=/sc-data/cfc/cfc-langgraph 42 过 / 1 红 / 344.83s
线上鉴权 curl POST /api/mind/fortune、/api/energy/overview 均 401
站点可达 curl /admin、/frontend 均 302(24ms / 21ms)

后端红例全清单(33)

EnergySystemFlowTest                         6  (5×expected 200 but 500 + 1 false)
CfCommissionServiceSettleTest                8  (Wanted but not invoked)
ArticleAutoTagServiceTest                    4  (execute 未命中)
DimensionRegistryMapContractTest             3  (契约口径)
GrowthRecordSyncFlowTest                     3  (1F + 2E)
OrchestrationEngineTest                      1
OrchestrationIntegrationTest                 1
MembershipPaySwitchTest                      1
PaymentServiceORDRoutingTest                 1
UserServiceWechatLoginTest                   1
UserServiceWechatLoginContractTest           1
TeamProfitCronContractTest                   1
TaskPlanServiceTest                          1
GuideModuleIntegrationTest                   1  (platform_fee truncation)

红类集合对比 R118(34 红 / 15 类):差集为空,仅少 1 例—— 少的那例是 MindFortuneControllerTest,随 /api/mind/** 鉴权修复转绿。

节点探活原始结果

189: 22 CLOSED / 4090 OPEN / 4096 CLOSED
251: 9000 OPEN / 4096 OPEN / 22 OPEN
204: 4090 CLOSED

189 shell 通道实证(Basic 认证通过):

POST http://192.168.16.189:4090/api/shell?location[directory]=C:\   -> 200
hostname = Lenovo-y50        shell = powershell.EXE      (Windows 节点)
C:\worktrees\cfc-user-is-child  branch=feature/user-is-child  HEAD=e3e52ca38
Test-Path tests\e2e-live = False   Test-Path node_modules = False

→ 通道可用但不具备执行浏览器套件的前置条件,本轮未派发(B-122)。

251 派发踩坑记录(本轮关键)

  • 第 1 次:dispatch_shell.cjs 默认 8s 轮询 → 每轮都新建 shell。pytest 跑到第 36 例(...F................................)被后续 shell 连带终止,日志无 summary、DONE_0。
  • 第 2 次:改 setsid nohup ... > /tmp/r123b.log 2>&1 & 分离进程,本地 sleep 后只读 1 次文件 → 正常拿到 1 failed, 42 passed in 344.83s。
  • 结论:远程长任务的「kick + 本地等待 + 单次读取」是唯一稳定模式;轮询会杀进程。

浏览器关键观测

  • TC-A-U05(R122 连续 2 次失败)本轮 58.4s 通过;TC-A-U04 10.2s 通过。
  • 全部 5 例 admin 用例首轮即绿,无重跑。