fix(recovery): close cold-start runtime blockers

This commit is contained in:
ogt
2026-07-11 15:08:27 +08:00
parent 7cea825d92
commit 276410fbb6
38 changed files with 1494 additions and 145 deletions

View File

@@ -143,7 +143,9 @@ _WINDOWS99_POWERED_OFF_NEXT_SAFE_ACTION = (
"run_windows99_vmware_autostart_check_mode_package_for_powered_off_aliases_"
"then_rerun_no_secret_collector_no_vm_power_change"
)
_WINDOWS99_REQUIRED_VM_ALIASES = ["111", "188", "120", "121", "112"]
# Host 111 remains in whole-host reboot detection but is a physical MacBook,
# not a VMware guest on Windows 99.
_WINDOWS99_REQUIRED_VM_ALIASES = ["110", "188", "120", "121", "112"]
_WINDOWS99_EXPECTED_VMX_CANDIDATES = {
"110": [
r"D:\Documents\Virtual Machines\Ubuntu 64-bit (3)\Ubuntu 64-bit (3).vmx",

View File

@@ -1722,7 +1722,8 @@ def _assert_reboot_slo_payload(payload: dict):
assert "manual_db_update" in service_data_backup["forbidden_actions"]
windows99 = payload["windows99_vmware_autostart"]
assert windows99["readback_present"] is False
assert windows99["required_vm_aliases"] == ["111", "188", "120", "121", "112"]
assert windows99["required_vm_aliases"] == ["110", "188", "120", "121", "112"]
assert "111" in payload["host_boot_detection"]["required_hosts"]
assert windows99["blockers"] == ["windows99_vmware_autostart_readback_missing"]
collection = payload["windows99_verify_collection"]
assert collection["schema_version"] == (