docs(rectification): owner's real-Docker test:db evidence and re-verification after rebase onto staging 75166802 (BUG-1131)
Independent Staging Quality Gate / validate (push) Successful in 14m14s
Independent Staging Quality Gate / publish (push) Failing after 1m10s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-10-01 08:20:50 +08:00
co-authored by Claude Opus 5.5
parent 9d57c96254
commit a8820f2cf0
3 changed files with 26 additions and 2 deletions
@@ -357,3 +357,27 @@ Linux,Node 22.14,Python 3.13;**无 Docker**。数据库测试用 Maven Cen
### 部署注意
两条迁移 `20261001010000_rectification_segment_adoption.sql`、`20261001020000_rectification_segment_checks.sql` 在 staging 部署前自动应用;`get_agentic_rectification_case_dossier` 被 `create or replace`(旧版本保存为 `_before_segments`)。
### 产品负责人真 Docker 复跑(2026-10-01,提交 `ac0c8574`,按 `docs/testing/rectification-varga-resolution-db-20261001.md` 两遍 `npm run test:db`)
| 环境 | tests | pass | fail | cancelled | skipped |
| --- | --- | --- | --- | --- | --- |
| Windows Docker Desktop(清单原命令) | 68 | 19 | 49 | 0 | 0 |
| Linux 容器(Node 22、Docker 29、`postgres:17-alpine`,符号链接按 Git 原样) | 80 | 79 | 1 | 0 | 0 |
- Windows 49 条均停在 `duplicate migration filename: 20260814025000_personal_report_document_v2.sql`:`frontend/db/migrations` 的 4 个符号链接在 Windows 检出被物化为普通文件,迁移未入库(错误台账第 37 行同类),未测到库内 SQL。
- Linux 唯一失败 `staging database environment file is ignored`:解包目录无 `.git`,`git check-ignore` 退出 128(错误台账第 38 行同类);同一条在 Windows 真实检出上通过。
- 清单点名 7 条(开案 BUG-1131、升级后历史 Skill、段采用两条、D7、存盘盘型两条)在 Linux 真库全部 ok。Claude 替身环境里失败的 3 条(备份加密、数据库环境变量校验、管理员身份隔离)在真 Docker 下均通过,确认为替身限制。
- 日志在产品负责人本机(`.worktrees/varga-db-fix.log`、`.worktrees/varga-db-fix-linux.log`),Claude 未直接读取,按其报告记录。
### 变基到 `origin/staging` @ `75166802` 后复验(Claude 2026-10-01)
staging 新增 14 个首页首屏加载提交,无新迁移(数据库部分不重跑);冲突只在 BLOCKED / CHANGELOG / BUG 历史(双方追加,保留两侧)。
| 检查 | 基线 `75166802` | 本分支 |
| --- | --- | --- |
| tsc / lint | 0 / 0 error、126 warning | 0 / 0 error、126 warning |
| npm test | 4513 / fail 24 / cancel 0 | 4809 / fail 24 / cancel 0;失败清单逐名相同,基线名 0 丢失、新增 296 |
| `/` | Static | Static |
| 首屏 gzip | JS 549,593 / CSS 68,764 | JS 555,325(+1.04%)/ CSS 不变;合计 +0.93%(绝对增量与变基前同为约 5.7 KB,比例上升因基线瘦身) |
| Python 快速门 | — | 1036 passed / 1 skipped / 0 failed |