fix(verifier): recognize rollout success evidence
All checks were successful
Code Review / ai-code-review (push) Successful in 11s
CD Pipeline / tests (push) Successful in 1m3s
CD Pipeline / build-and-deploy (push) Successful in 3m38s
CD Pipeline / post-deploy-checks (push) Successful in 1m30s

This commit is contained in:
Your Name
2026-05-14 00:37:31 +08:00
parent c42b2dfe06
commit 5fb73a5612
4 changed files with 29 additions and 3 deletions

View File

@@ -464,7 +464,17 @@ def _assess_recovery(
return "failed"
# 成功信號
success_signals = ["running", "ready", "1/1", "2/2", "3/3", "healthy"]
success_signals = [
"running",
"ready",
"1/1",
"2/2",
"3/3",
"healthy",
"successfully rolled out",
"'success': true",
'"success": true',
]
if any(sig in post_str for sig in success_signals):
# 但如果 pre_state 已經是 running可能是無效操作
if pre_str and any(sig in pre_str for sig in success_signals):