docs(bugs): BUG-1271 runner dropped mid frontend tests; sync6 deployed at 2df6ee72

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-08 11:24:33 +08:00
co-authored by Claude Opus 5.5
parent a07b4b589c
commit c04786f7cf
2 changed files with 18 additions and 2 deletions
+16
View File
@@ -17096,3 +17096,19 @@
- 相关记录:BUG-1189
- 复发自:无
- 修复版本:未改代码
## BUG-1271 | staging 门禁「Frontend and database tests」中途中断,后续步骤 0 秒失败
- 状态:resolved(运行机偶发;同一提交重新运行通过并已部署)
- 首次发现 / 最近更新:2026-10-07 / 2026-10-08
- 来源:门禁 run 3213 第 1 次(`2df6ee72`)。
- 影响面:Gitea `backend-quality-gate.yml` 的 validate;与被测代码无关,但会挡住 staging 部署。
- 现象:快速门、隐私扫描、Python 打包都通过;「Frontend and database tests」15:12:39(UTC)开始,测试开跑约 20 秒后日志不再有任何输出,15:28:17 判失败;随后「Frontend lint」「Frontend production build」标 failure、用时 0 秒(正常失败时后续步骤是 skipped)。网页日志只到 15:12:59,没有失败名单和 TAP 摘要。
- 触发条件:未定位;运行机 `xiaoxin`(runner_id 11)。
- 根因:判断为运行机在该步骤中途失联、被 Gitea 判超时,不是测试失败。依据:同一提交在 2026-10-08 由产品在 Gitea 网页重新运行(run 3213 第 2 次),「Frontend and database tests」00:54:45–00:59:45 用时 5 分钟通过(上一次绿的 run 3206 为 6 分半);Claude 在 Linux 上对该提交复核 `npm test` 4990 项、失败 24,与基线逐名相同。运行机日志、内存、磁盘未查(任务书 S4 延后)。
- 修复:无代码改动;重新运行。
- 验证:run 3213 第 2 次 validate / publish 成功,migrate run 3215、deploy run 3216 成功;`/api/health` 的 `deployment.gitCommit` = `2df6ee72`(其后 `a07b4b58` 为纯文档,`deploy/is-docs-only-range.sh` 退出 0);`/login` 200;未登录 `/api/account` 401。
- 防复发:遇到「后续步骤 failure 0 秒、日志中断」先重新运行一次再查代码;若再现,按 `TASK-sync6-gate-red-20261007.md` S4 查运行机。
- 相关记录:BUG-1254(数据库槽位排队)、BUG-266(runner 资源回收)、BUG-1260、BUG-1268。
- 复发自:无。
- 修复版本:无(运行机侧)。