Files
Agent-System/.doc/test-reports/2026-09-16-nightly-datadir-align-test-report.md
T
weichenandCursor 6aea8784c2
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 1s
CI / web (push) Failing after 0s
docs(test): record nightly run#30 U8 PASS after DATA_DIR rw fix
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 15:44:56 +00:00

1.9 KiB
Raw Blame History

Nightly DATA_DIR 对齐测试报告

一、 测试背景 (Background)

Gitea nightly run#21 使用 PI_AGENT_RUNNER_URL=http://127.0.0.1:18865(dev PI,挂载 data/dev/workspaces),但 workflow 设置 DATA_DIR=/host-agent-data/test,导致 Go 侧 workspace 与 PI 容器物理路径错配;U8 出现 quality_failed → product_fail。

二、 测试目标 (Test Objectives)

  • DATA_DIR=/host-agent-data/dev 与 :18865 对齐
  • 确认 quality_failed 重试路径仍在脚本中
  • workflow_dispatch 后 receipt 非因 DATA_DIR 错配导致的 infra/product 误判

三、 测试方案与环境 (Test Plan & Environment)

  • OS: Linux;Gitea act_runner nightly:host + host network
  • PI: 127.0.0.1:18865 MiniMax-M2.7-highspeed
  • PG: NIGHTLY_TEST_DATABASE_URL → :5434

四、 预期结果 (Expected Results)

  • checkout / setup-go / archive PASS
  • 用例不再因 DATA_DIR skip;workspace 路径含 data/dev/workspaces
  • receipt pass,或重试后 pass;若仍 product_fail 则归模型质量门并记录

五、 实际测试结果与判定 (Actual Results & Evaluation)

配置变更

  • Input: DATA_DIR test → dev
  • Actual: workflow 已合入 dev
  • Verdict: PASS(配置)
  • Duration: n/a

Nightly 重跑

  • run#25 (89ce3cc): DATA_DIR=dev 已对齐,但 /host-agent-data 曾 :ro → mkdir RO → product_fail(已改 compose rw)
  • run#30 (776b2b5): U8 PASS (263s);FullNone FAIL → receipt product_fail(模型/链路产品失败,非 DATA_DIR/infra)
  • Verdict: DATA_DIR 对齐 PASS;套件整体仍 product_fail(FullNone)

六、 自动化测试套件汇总 (Test Suite Execution)

  • 本项为 CI workflow 配置修复;go test -short 不覆盖 nightly。

七、 测试结论与后续优化建议 (Conclusion & Next Steps)

  • 配置对齐为 P1 必做项;若对齐后仍偶发 quality_failed,依赖脚本重试与产品侧质量门调优(不回退为 infra)。