修复发布就绪等待与充值过期监听

为 API readiness 探测增加单次超时,避免端口已建立时无限挂起
修复 SpacetimeDB 枚举状态订阅导致的充值过期监听失败
在 pause-after-stdb 审批提示中强调运行时与迁移身份互斥
补齐生产发布门禁、回归测试与运维排障文档
This commit is contained in:
2026-07-12 22:24:47 +08:00
parent 51740c021b
commit 425699b2e2
7 changed files with 42 additions and 9 deletions
+1 -1
View File
@@ -1126,7 +1126,7 @@ wait_for_worker_controller_service "${WORKER_CONTROLLER_SERVICE}"
echo "[production-api-deploy] 等待 readiness: ${HEALTH_URL}"
for _ in {1..30}; do
if curl -fsS "${HEALTH_URL}" >/dev/null; then
if curl -fsS --max-time 2 "${HEALTH_URL}" >/dev/null; then
if [[ "${KEEP_MAINTENANCE_MODE}" -eq 1 ]]; then
echo "[production-api-deploy] readiness 通过,按参数保持维护模式: ${MAINTENANCE_FILE}"
else