docs: record BUG-542 fix SHA 5483649b
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-3
@@ -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 |
|
||||
| --- | --- | --- |
|
||||
|
||||
Reference in New Issue
Block a user