docs: record BUG-542 fix SHA 5483649b
Independent Staging Quality Gate / validate (push) Successful in 10m17s
Independent Staging Quality Gate / publish (push) Successful in 6m9s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-06 12:39:34 +08:00
parent 5483649bc1
commit f5566c06ef
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -8385,9 +8385,7 @@
- 修复:共享 `jsonForSupabaseSetupFailure`:仅配置错误返回「服务尚未配置」;其它异常返回 `503 {"error":"服务暂时不可用,请稍后重试","code":"service_unavailable"}`,并 `console.error` 路由名与 `error.name`(不打印堆栈/连接串)。不改客户端抛错语义、不加重试、不改 health。
- 验证:`npx tsx --test tests/api-service-unavailable-20260904.test.ts` 4/4。mock `createServerSupabaseClient` 抛配置错误 → 503「服务尚未配置」;抛 `Error("connection refused")``code=service_unavailable`,文案不含「尚未配置」。覆盖 `POST /api/rectification/agent``GET /api/rectification/cases/[caseId]``grep -rn "服务尚未配置" frontend/src` 只命中 helper。`tsc --noEmit` 0 错;改动文件 eslint `--quiet` 0 error。
- 防复发:新路由创建数据库客户端失败不得手写「服务尚未配置」;必须走 helper。发布门模块 mock 继续用 Node 22 的 `namedExports`BUG-514)。
- 相关记录:BUG-010、BUG-514
- 复发自:无
- 修复版本:待发布
- 修复版本:`5483649b`
## BUG-543 | staging 镜像构建因 Google Fonts 拉不到 Inter 失败
@@ -2,7 +2,7 @@
工作树:`.worktrees/api-not-configured-mislabel-20260904`
分支:`codex/api-not-configured-mislabel-20260904`
基线:开工时 `origin/staging` @ `d2a209d3`(任务书写的是 `a75929c1`;staging 已含后续提交)。未改 `.gitea/workflows/**`、未动迁移、未升级依赖、未 bump Skill、未改 `createServerSupabaseClient` / `createAdminSupabaseClient` 抛错语义。
基线:开工时 `origin/staging` @ `d2a209d3`(任务书写的是 `a75929c1`staging 已含后续提交)。修复提交:`5483649b`未改 `.gitea/workflows/**`、未动迁移、未升级依赖、未 bump Skill、未改 `createServerSupabaseClient` / `createAdminSupabaseClient` 抛错语义。
| 任务 | 状态 | BUG |
| --- | --- | --- |