fix(api): keep unknown repair on manual gate
Some checks failed
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Successful in 1m39s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-26 19:26:30 +08:00
parent e0a86b6254
commit 9e4c5e3a50

View File

@@ -509,9 +509,9 @@ class FailureWatcherService(IFailureWatcher):
"NETWORK_ERROR": "檢查網路連線,驗證 DNS 解析",
"PERMISSION_DENIED": "檢查 RBAC 權限配置",
"RESOURCE_ERROR": "增加資源配額或清理資源",
"UNKNOWN": "AI 深度診斷:補抓 timeline / log / metric / PlayBook 相似案例",
"UNKNOWN": "AI 深度診斷:補抓 timeline / log / metric / PlayBook 相似案例,人工安全閘門接手",
}
return suggestions.get(classification, "AI 深度診斷")
return suggestions.get(classification, "AI 深度診斷:人工安全閘門接手")
async def _check_repair_cooldown(
self,