gouki
87e144e022
feat(deploy): update.sh 健康闸门增加核心 API 探测,失败触发回滚
在 wait_health commit 追平通过后、清除 FAILED_STATE 之前,新增
check_core_apis 函数探测 4 个核心端点(/api/assets、/api/accounts、
/api/providers、/api/stats/overview),复用 deploy.sh 的端点列表与
判定标准(curl -w %{http_code},非 200 视为验收失败)。
API 探测失败时走现有完整回滚路径:git reset --hard $LOCAL +
systemctl restart + 二次 wait_health + 写 FAILED_STATE + 告警。
告警消息新增「失败原因」字段区分健康检查与 API 探测失败。
2026-10-14 08:31:10 +00:00
..
2026-09-05 23:10:46 +00:00
2026-08-09 23:08:39 +00:00
2026-10-12 00:43:37 +00:00
2026-10-14 08:31:10 +00:00
2026-08-01 23:10:31 +00:00
2026-08-01 23:10:31 +00:00
2026-08-01 23:10:31 +00:00
2026-08-01 23:10:31 +00:00
2026-09-23 10:15:52 +00:00
2026-09-23 10:15:52 +00:00
2026-08-09 21:18:27 +00:00
2026-08-09 23:41:52 +00:00
2026-08-01 13:18:04 +00:00
2026-08-02 18:55:18 +00:00
2026-08-02 18:55:18 +00:00
2026-08-02 17:43:46 +00:00
2026-08-02 17:43:46 +00:00
2026-10-12 00:43:37 +00:00
2026-10-12 00:43:37 +00:00