fix(api): normalize missing automation blockers
All checks were successful
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Successful in 1m35s
E2E Health Check / e2e-health (push) Successful in 30s
CD Pipeline / build-and-deploy (push) Successful in 4m32s
CD Pipeline / post-deploy-checks (push) Successful in 1m36s

This commit is contained in:
Your Name
2026-06-25 23:56:06 +08:00
parent 20a3961083
commit 4c85db183e
4 changed files with 75 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ from src.services.ollama_failover_manager import (
get_ollama_failover_manager,
)
from src.services.ollama_health_monitor import HealthReport, HealthStatus
from src.services.operator_outcome import build_operator_outcome
from src.services.operator_outcome import build_operator_outcome, normalize_operator_blockers
from src.services.operator_summary_cache import (
get_cached_operator_summary_async,
store_operator_summary_async,
@@ -5038,6 +5038,7 @@ def _build_awooop_status_chain(
]
if item
]
blockers = normalize_operator_blockers(blockers, facts)
if fetch_error:
blockers.append("truth_chain_fetch_failed")
outcome = {}