fix(governance): mark priority readback projection source
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 58s
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-07-03 10:57:58 +08:00
parent f69e056bab
commit aed26bae84
3 changed files with 20 additions and 0 deletions

View File

@@ -3079,6 +3079,7 @@ def _enrich_from_current_readbacks(
or reboot_slo.get("safe_next_step")
or ""
)
state["active_p0_projection_source"] = "reboot_auto_recovery_slo_scorecard"
state["active_p0_readiness_percent"] = _int(
reboot_slo.get("readiness_percent")
or workbench_readback.get("current_p0_readiness_percent")
@@ -4021,6 +4022,9 @@ def _set_rollups_and_summary(
"active_p0_next_safe_action": str(
state.get("active_p0_next_safe_action") or ""
),
"active_p0_projection_source": str(
state.get("active_p0_projection_source") or ""
),
"controlled_service_data_backup_readback_present": (
state.get("controlled_service_data_backup_readback_present") is True
),
@@ -4143,6 +4147,9 @@ def _set_rollups_and_summary(
"active_p0_next_safe_action": str(
state.get("active_p0_next_safe_action") or ""
),
"active_p0_projection_source": str(
state.get("active_p0_projection_source") or ""
),
"active_p0_live_active_blockers": active_blockers,
"controlled_service_data_backup_readback_present": (
state.get("controlled_service_data_backup_readback_present") is True