From 0c2a65b3d246d09055e05b9bea85b152db8be5ba Mon Sep 17 00:00:00 2001 From: Jesse_Chen Date: Sun, 6 Sep 2026 11:56:54 +0000 Subject: [PATCH] docs: mark appendix migration applied and refresh deploy-chain status Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016P5RoqzmUQEbeC2qjAkeGr --- BLOCKED.md | 2 +- TASK-report-longform-gaps2-20260906.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BLOCKED.md b/BLOCKED.md index 27a5c683..c12fe8a6 100644 --- a/BLOCKED.md +++ b/BLOCKED.md @@ -5,7 +5,7 @@ - **`npm run test:db` 未绿:Docker 用户自定义网络地址池耗尽。** `docker compose` 起 postgres fixture 时报 `all predefined address pools have been fully subnetted`。本机 Docker daemon 可用,且已有十余个遗留 `jyotisha-postgres-*` 容器占着网络;本单未做 `docker network prune`(会动共享宿主状态)。`test:db` 36 项里 19 项不需要新网络(备份路径、env 校验等)通过,17 项因建网失败。 - **迁移语法检查(任务书 §5.1 空库口径):** 用默认 `bridge` 起一次性 `postgres:17-alpine`(不新建 compose 网络)。对空库 `psql --set ON_ERROR_STOP=1 -f 20260906010000_chat_session_context_summary.sql` 退出码 3:`relation "public.chat_sessions" does not exist`。在同一空实例上 `CREATE ROLE authenticated NOLOGIN; CREATE TABLE public.chat_sessions (id uuid PRIMARY KEY);` 后再跑同一文件:`BEGIN / ALTER TABLE / GRANT / COMMIT` 成功;列 `context_summary jsonb`、check `jsonb_typeof = 'object'`、`authenticated` 对该列 `UPDATE` 为真。容器已删。 - **`npm run build -- --webpack`:** webpack 编译通过(45s)。随后 Next 类型检查停在既有 `api/rectification/cases/[caseId]` 的 `dossierResponse` 导出,与 BUG-551/553 同因,本单未改该文件。因此构建未走到 `Collecting page data`,本机看不到 `○ /` Static 行。`page.tsx` 未改;缓存表只在后台用量页。 -- 部署前仍需产品负责人跑 Gitea `Migrate Staging Database`(本迁移 + 积压的 `5010000_personal_report_longform_appendices.sql`)。 +- ~~部署前仍需产品负责人跑 Gitea `Migrate Staging Database`(本迁移 + 积压的 `5010000_personal_report_longform_appendices.sql`)~~ **已解决(2026-09-06 产品确认)**:附录迁移 `20260905010000_personal_report_longform_appendices.sql` 于 migrate 2431(09-06 00:00)真实 `applied`(此前 09-05 的 migrate/deploy 2419/2420/2425/2428 死于 runner 磁盘满;22:56 的 deploy 2430 被 checker 以 pending migrations 明确拒绝);随后 deploy 2432 成功。`20260906010000_chat_session_context_summary.sql` 于 migrate 2440(09-06 15:31)`applied`;migrate 2445 幂等复确认两条均 `already applied`。当前 health:`deployment.gitCommit=a444c493`、`database.latestMigration=20260906010000`、`requiredMigrationsPresent=true`。 ## 仓库整备任务 1:发布门仍有三条非环境红(2026-09-03,分支 `codex/repo-hygiene-20260903`) diff --git a/TASK-report-longform-gaps2-20260906.md b/TASK-report-longform-gaps2-20260906.md index e6964f43..1e7dcad0 100644 --- a/TASK-report-longform-gaps2-20260906.md +++ b/TASK-report-longform-gaps2-20260906.md @@ -99,7 +99,7 @@ C 组逐项:分钟排行表、原始模块索引附录、Profile-aware Benchma ## 收尾 -`docs/tasks/PROGRESS-report-longform-gaps2-20260906.md`;BUG_HISTORY 条目(A 组静默跳过、审计表零行各记一条,编号对远端);推送后核对 health(注意:memory 记录 staging 部署自 c295b853 起连续失败、`bab07187` 的迁移待执行——本轮推送前先确认部署链恢复,Migrate Staging Database 先行);不提升 main。 +`docs/tasks/PROGRESS-report-longform-gaps2-20260906.md`;BUG_HISTORY 条目(A 组静默跳过、审计表零行各记一条,编号对远端);推送后核对 health(部署链已于 09-06 恢复:附录迁移 migrate 2431 落地、deploy 2432 起正常,当前 `database.latestMigration=20260906010000`、`requiredMigrationsPresent=true`;此句替代出稿时的过期提醒);不提升 main。 ## 交付物清单