fix(reboot): expose windows99 vmx executor chain
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 4m19s
CD Pipeline / build-and-deploy (push) Successful in 5m39s
CD Pipeline / post-deploy-checks (push) Successful in 1m46s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 4m19s
CD Pipeline / build-and-deploy (push) Successful in 5m39s
CD Pipeline / post-deploy-checks (push) Successful in 1m46s
This commit is contained in:
@@ -90,6 +90,26 @@ def test_package_routes_missing_vmx_to_source_repair_check_mode() -> None:
|
||||
"expected_vmx_source_missing"
|
||||
)
|
||||
assert action_chain["check_mode"]["probe_command_count"] == 1
|
||||
assert action_chain["controlled_apply_candidate"]["executor"] == (
|
||||
"windows99_no_secret_management_channel_or_local_console"
|
||||
)
|
||||
assert action_chain["execution_boundary"]["execution_authorized_by_this_package"] is False
|
||||
assert action_chain["post_apply_verifier_count"] == 5
|
||||
assert action_chain["learning_writeback_ref_count"] == 6
|
||||
assert payload["target_vm_aliases"] == ["111"]
|
||||
assert payload["check_mode_probe_command_count"] == 1
|
||||
assert payload["controlled_apply_candidate_status"] == (
|
||||
"candidate_waiting_existing_vmx_source_or_backup_path"
|
||||
)
|
||||
assert payload["controlled_apply_candidate_executor"] == (
|
||||
"windows99_no_secret_management_channel_or_local_console"
|
||||
)
|
||||
assert payload["post_apply_verifier_count"] == 5
|
||||
assert payload["learning_writeback_ref_count"] == 6
|
||||
assert payload["km_writeback_ref"].startswith("km://awoooi/reboot-slo/")
|
||||
assert payload["playbook_trust_writeback_ref"].startswith(
|
||||
"playbook://awoooi/windows99-vmx-source-repair/"
|
||||
)
|
||||
assert row_by_alias["188"]["missing_vmx_source"] is False
|
||||
assert payload["operation_boundaries"]["vm_power_change_performed"] is False
|
||||
assert payload["operation_boundaries"]["secret_value_read"] is False
|
||||
|
||||
Reference in New Issue
Block a user