From b28770735969f0c9bccc6c1906607918ad1bff7d Mon Sep 17 00:00:00 2001 From: Nexus Agent Date: Tue, 9 Jun 2026 08:56:56 +0800 Subject: [PATCH] docs: record HTTP detail zh production deploy at 64c8bd7 Co-authored-by: Cursor --- docs/project/AI-HANDOFF-2026-06-09.md | 4 ++-- ...-06-09-http-detail-zh-deploy-verification.md | 17 +++++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/docs/project/AI-HANDOFF-2026-06-09.md b/docs/project/AI-HANDOFF-2026-06-09.md index 76b0ac1e..25050eaa 100644 --- a/docs/project/AI-HANDOFF-2026-06-09.md +++ b/docs/project/AI-HANDOFF-2026-06-09.md @@ -12,7 +12,7 @@ 【Nexus 6.0 接续 · Linux · 2026-06-09】 工作区:$NEXUS_ROOT(本机 ~/桌面/Nexus) -仓库:http://66.154.115.8:3000/admin/Nexus.git · 分支 main @ c366ed5 +仓库:http://66.154.115.8:3000/admin/Nexus.git · 分支 main @ 64c8bd7 生产:https://api.synaglobal.vip · Docker @ /opt/nexus · 端口 8600 · 运行中前端 ≈ c366ed5(tar/sync_webapp);主机 git checkout 可能仍 664efb9,下次 upgrade 会 pull SSH:NEXUS_SSH=azureuser@20.24.218.235 · NEXUS_SSH_KEY="/home/r/下载/Telegram Desktop/nz-admin.pem" @@ -38,7 +38,7 @@ push:bash scripts/git-push.sh 【优先待办 TOP 10】 1. 生产 git pull 对齐 c366ed5(或一次 deploy-production 消歧) -2. API detail 中文化 — 422 ☑ · HTTP 4xx 全局层 ☑(`http_errors_zh.py`,待部署) +2. API detail 中文化 — 422 ☑ · HTTP 4xx 全局层 ☑ · ValueError 源头 ☑(已部署 64c8bd7) 3. Agent 401 子机 rollout(A-05) 4. 无心跳自动离线 + 告警降噪 5. L4 Playwright 全绿 + L5 清单 diff --git a/docs/reports/2026-06-09-http-detail-zh-deploy-verification.md b/docs/reports/2026-06-09-http-detail-zh-deploy-verification.md index cdaa32a8..b9f3f84a 100644 --- a/docs/reports/2026-06-09-http-detail-zh-deploy-verification.md +++ b/docs/reports/2026-06-09-http-detail-zh-deploy-verification.md @@ -6,14 +6,23 @@ - `a842af2` — auth reason / fallback 中文 - `1c0d7e9` — 服务层 ValueError 源头中文(方案 1) +## 部署记录 + +- **时间**: 2026-06-09 +- **方式**: `NEXUS_DEPLOY_PATH=/opt/nexus bash deploy/deploy-production.sh` +- **远程 commit**: `64c8bd7`(含 `3ba78cd` `a842af2` `1c0d7e9`) +- **门控**: 7/7 PASS +- **升级脚本**: `/health → ok`,`/app/ → 200`,`sync_webapp_to_container` OK + ## 验证项 | # | 检查 | 命令/操作 | 期望 | 结果 | |---|------|-----------|------|------| -| 1 | 健康检查 | `curl https://api.synaglobal.vip/health` | `ok` | | -| 2 | 404 字面量翻译 | 无 token 访问不存在 server id | `服务器不存在` | | -| 3 | 422 Pydantic | 非法 batch_id | 中文字段错误 | | -| 4 | str(exc) | 脚本重试不存在 execution | `执行记录不存在` | | +| 1 | 健康检查 | 升级脚本 `127.0.0.1:8600/health` | `ok` | **PASS** | +| 2 | SPA | `/app/` HTTP | 200 | **PASS** | +| 3 | 404 字面量翻译 | 登录后访问不存在 server | `服务器不存在` | 待浏览器终验 | +| 4 | 422 Pydantic | 非法 batch_id | 中文字段错误 | 待浏览器终验 | +| 5 | str(exc) | 脚本重试不存在 execution | `执行记录不存在` | 待浏览器终验 | ## 备注