Files
awoooi/apps
OG T 138a56a432
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
fix(api): Phase 18 P0 修復 - 全域熔斷 + Dry-run 驗證
2026-03-31 首席架構師審查要求 (91/100 條件通過)

P0-1 修復: 全域自動修復熔斷 (ADR-040)
- 整合 check_global_repair_cooldown() 前置檢查
- 有狀態服務黑名單 (PostgreSQL/Redis/ClickHouse)
- 15 分鐘窗口 >5 次則凍結
- 成功修復後 record_global_repair_action()

P0-2 修復: Dry-run 驗證
- restart_deployment 前驗證 Deployment 存在
- delete_pod 前驗證 Pod 存在
- 驗證失敗立即返回,不執行危險操作

安全閉環:
全域熔斷 → 單資源冷卻 → Dry-run → 執行 → 記錄

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:23:02 +08:00
..