Files
Agent-System/.doc/test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md
WeiCHEN 822e21680e docs(ops): close schema-61 gate and test promotion evidence
Record production_ready refresh at schema 61, rc-v1.1.0-beta.1
promotion, and test deploy smoke; mark the task done with cleanup pending.
2026-09-22 21:02:20 +08:00

74 lines
3.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-09-22 dev 门禁复验与 test 晋升 — 测试报告
## 一、背景
权威代码在 `/private/tmp/Agent-System`。本轮将旧 Volumes 克隆运行现场迁移到本仓库,按发布门禁复验 schema 61,整改真实 PI 阻塞后,将本地 `dev` 晋升到 `test` 并部署可用。
## 二、范围与 SHA
| 项 | 值 |
|----|-----|
| 门禁冻结 / origin.dev tip | `591ea6017404e628d4fdb35fa429c6f5a58888d6` |
| test 晋升节点 M(第一父 `origin/test@210fe4a7`) | `83c6a12aafd57f546460d89ea23f7d99c16ffc13` |
| rc tag | `rc-v1.1.0-beta.1` → `83c6a12a` |
| schema | 61(migration 00061) |
| 任务 | `dev-prod-ready-test-promotion-2026-09-22` |
## 三、环境与模型证据
| 环境 | health | Runner | 模型 |
|------|--------|--------|------|
| dev | schema=61, database_ready, kb_ready | `127.0.0.1:18865` | `MiniMax-M2.7-highspeed` |
| test | schema=61, database_ready, kb_ready | `127.0.0.1:18866` | `MiniMax-M3` |
共享 KB `shuimu-kb-shared:5432` 保持只读共用。隔离治理 PG:`gate-pg` @ `127.0.0.1:5436`(user=app)。
## 四、expected_tests 对照
| 项 | 结果 | 证据 |
|----|------|------|
| `arch-check --mode block` | PASS | 候选上重跑 ok |
| `go vet ./...` | PASS | 候选上重跑 ok |
| `go test -short ./...` | PASS | `/tmp/promote-test-short.log`;候选约 49s |
| 治理 PG 隔离 fixture | PASS | 前序合入;gate-pg DSN |
| 前端 `npm test` / `npm run build` | PASS | 前序门禁轮次 |
| ABAC 项目上下文越权 | PASS | guest→403 / admin→200(live smoke) |
| `TestMultiIntentU8_RealPI_ConfirmGenerate_PG` | PASS (233s) | nightly receipt `591ea601…json`;evidence-591ea601-20260922T114117Z |
| `TestWorkflowGovernance_PiAgent_PG_FullNoneMixedChain` | PASS (1129s) | 同上 |
| `TestWorkflowGovernance_PiAgent_PG_FullChain` | PASS (241s) | evidence-fullchain-591ea601-20260922T121108Z |
| `…_ProductManager_FullChain` | PASS (747s) | 同上 |
| `…_TestManager_FullChain` | PASS (898s) | 同上 |
| 对话重登/刷新抽查 | PASS | `chat-refresh-smoke-591ea601.json`;U8 HTTP refresh 步骤 |
| test 冒烟:登录/项目列表/工作流目录 | PASS | project_count=0;workflows 200 |
| 演示数据负例(无 6001–6010) | PASS | overlap=[] |
**非阻塞缺项**:embedding 端点仍返回 401(`material chunk index failed` / kb-retriever WARN)。材料全文仍注入工作区;不挡真实 PI 与晋升。candidate image digest 在 nightly 中因 `NIGHTLY_SKIP_IMAGE_BUILD=1` 回退到既有 receipt digests。
## 五、本轮阻塞整改
`piAgentSharedDataDir` 在 `go test ./internal/server` 下优先命中包内 `internal/server/data/test`,而 compose 仅挂载仓库根 `data/dev/workspaces`。Runner 在空沙箱执行,专员读不到材料 → `quality_failed`。修复:按 `go.mod` 选仓库根 `data/dev`,nightly 导出 `DATA_DIR`。合入 `591ea601`。
另已合入(前序):ABAC 项目上下文成员校验、官方 `bd_intake` fixture、并发 seed 唯一冲突容忍、CI PG 隔离与 arch SSOT。
## 六、晋升与部署
1. 候选 `--no-ff`:`210fe4a7` + `591ea601` → `83c6a12a`(PARENTS_OK)。
2. 推送:`origin/dev=591ea601`,`origin/test=83c6a12a`,tag `rc-v1.1.0-beta.1`。
3. `docker compose -f docker-compose.test.yml` rebuild(本机 agentctl `/proc` 不可用,手工等效 env 写);`SEED_DEMO_USERS=false`。
## 七、判定
- **dev production_ready(schema 61 门禁)**:yes(本报告证据;embedding 401 记为非 blocker 运维债)。
- **test 最新可用**:yes(schema 61 + MiniMax-M3 + 冒烟)。
- **main**:未晋升(按授权)。
## 八、收口状态摘要
| 字段 | 值 |
|------|-----|
| review_state | not_required |
| integration_state | merged_local_and_origin_dev;test 已晋升 |
| deployment | test_deployed_ok;dev_running_schema_61 |
| remote_sync | origin/dev + origin/test + rc tag pushed |
| cleanup | pending(feature/integrate/promote worktrees;cleanup_owner=独立维护者) |