fix(governance): redeploy priority readback projection
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-03 10:51:37 +08:00
parent da1f20ffcb
commit e23fe78ada
2 changed files with 20 additions and 0 deletions

View File

@@ -3057,6 +3057,8 @@ def _enrich_from_current_readbacks(
or "blocked_reboot_auto_recovery_slo_not_ready"
)
state["active_p0_live_active_blockers"] = reboot_active_blockers
# Prefer the live blocker list so stale top-level counts cannot mask
# the exact P0-006 next action exposed in the priority work order.
state["active_p0_live_active_blocker_count"] = _int(
len(reboot_active_blockers)
or reboot_slo.get("active_blocker_count")