fix(reboot): tighten windows99 vmx backup blocked host truth
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m22s
CD Pipeline / build-and-deploy (push) Successful in 4m50s
CD Pipeline / post-deploy-checks (push) Successful in 1m45s

This commit is contained in:
Your Name
2026-07-03 18:26:26 +08:00
parent e21d6de5b6
commit 9247446077
10 changed files with 165 additions and 43 deletions

View File

@@ -162,6 +162,8 @@ def build_windows99_vmx_source_backup_search_package(
else _load_backup_search_receipt(operations_dir)
)
receipt_applies = _receipt_applies(receipt, target_aliases)
receipt_next_step = str(receipt.get("next_executable_step") or "").strip()
receipt_safe_next_step = str(receipt.get("safe_next_step") or "").strip()
host_rows = (
_host_rows_from_receipt(receipt, locator)
if receipt_applies
@@ -206,10 +208,16 @@ def build_windows99_vmx_source_backup_search_package(
)
elif receipt_applies and blocked_rows:
status = "blocked_windows99_vmx_backup_source_not_found_some_hosts_unsearched"
next_step = "rerun_backup_search_for_blocked_hosts_or_offline_inventory"
next_step = (
receipt_next_step
or "rerun_backup_search_for_blocked_hosts_or_offline_inventory"
)
safe_next_step = (
"rerun_windows99_vmx_source_backup_search_check_mode_for_blocked_hosts_"
"then_update_receipt_no_write"
receipt_safe_next_step
or (
"rerun_windows99_vmx_source_backup_search_check_mode_for_blocked_hosts_"
"then_update_receipt_no_write"
)
)
elif receipt_applies:
status = "blocked_windows99_vmx_backup_source_not_found"