feat(awooop): expose windows99 check-mode receipt
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m31s
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 16:40:06 +08:00
parent 36fc41206d
commit 81304e354a
5 changed files with 272 additions and 35 deletions

View File

@@ -3639,6 +3639,36 @@ def _enrich_from_current_readbacks(
)
or ""
)
state["windows99_vmware_autostart_check_mode_effective_execution_ready"] = bool(
windows99_vmware_autostart_check_mode_package.get(
"effective_check_mode_execution_ready"
)
is True
)
state["windows99_vmware_autostart_check_mode_collector_readback_present"] = bool(
windows99_vmware_autostart_check_mode_package.get(
"collector_readback_present"
)
is True
)
state[
"windows99_vmware_autostart_check_mode_local_console_channel_reachable"
] = bool(
windows99_vmware_autostart_check_mode_package.get(
"local_console_channel_reachable"
)
is True
)
state["windows99_vmware_autostart_check_mode_public_display_only"] = bool(
windows99_vmware_autostart_check_mode_package.get("public_display_only")
is True
)
state["windows99_vmware_autostart_check_mode_endpoint_execution_authorized"] = bool(
windows99_vmware_autostart_check_mode_package.get(
"check_mode_package_execution_authorized_by_this_endpoint"
)
is True
)
state["windows99_vmx_source_locator_status"] = str(
windows99_vmx_source_locator_readback.get("status") or "unknown"
)
@@ -4228,6 +4258,29 @@ def _enrich_from_current_readbacks(
] = state[
"windows99_vmware_autostart_check_mode_playbook_trust_writeback_ref"
]
evidence[
"windows99_vmware_autostart_check_mode_effective_execution_ready"
] = state[
"windows99_vmware_autostart_check_mode_effective_execution_ready"
]
evidence[
"windows99_vmware_autostart_check_mode_collector_readback_present"
] = state[
"windows99_vmware_autostart_check_mode_collector_readback_present"
]
evidence[
"windows99_vmware_autostart_check_mode_local_console_channel_reachable"
] = state[
"windows99_vmware_autostart_check_mode_local_console_channel_reachable"
]
evidence["windows99_vmware_autostart_check_mode_public_display_only"] = (
state["windows99_vmware_autostart_check_mode_public_display_only"]
)
evidence[
"windows99_vmware_autostart_check_mode_endpoint_execution_authorized"
] = state[
"windows99_vmware_autostart_check_mode_endpoint_execution_authorized"
]
evidence["windows99_vmx_source_locator_status"] = state[
"windows99_vmx_source_locator_status"
]
@@ -5015,6 +5068,34 @@ def _set_rollups_and_summary(
"windows99_vmware_autostart_check_mode_package_ready": (
state.get("windows99_vmware_autostart_check_mode_package_ready") is True
),
"windows99_vmware_autostart_check_mode_effective_execution_ready": (
state.get(
"windows99_vmware_autostart_check_mode_effective_execution_ready"
)
is True
),
"windows99_vmware_autostart_check_mode_collector_readback_present": (
state.get(
"windows99_vmware_autostart_check_mode_collector_readback_present"
)
is True
),
"windows99_vmware_autostart_check_mode_local_console_channel_reachable": (
state.get(
"windows99_vmware_autostart_check_mode_local_console_channel_reachable"
)
is True
),
"windows99_vmware_autostart_check_mode_public_display_only": (
state.get("windows99_vmware_autostart_check_mode_public_display_only")
is True
),
"windows99_vmware_autostart_check_mode_endpoint_execution_authorized": (
state.get(
"windows99_vmware_autostart_check_mode_endpoint_execution_authorized"
)
is True
),
"windows99_vmware_autostart_check_mode_powered_off_count": _int(
state.get("windows99_vmware_autostart_check_mode_powered_off_count")
),
@@ -5422,6 +5503,34 @@ def _set_rollups_and_summary(
"windows99_vmware_autostart_check_mode_package_ready": (
state.get("windows99_vmware_autostart_check_mode_package_ready") is True
),
"windows99_vmware_autostart_check_mode_effective_execution_ready": (
state.get(
"windows99_vmware_autostart_check_mode_effective_execution_ready"
)
is True
),
"windows99_vmware_autostart_check_mode_collector_readback_present": (
state.get(
"windows99_vmware_autostart_check_mode_collector_readback_present"
)
is True
),
"windows99_vmware_autostart_check_mode_local_console_channel_reachable": (
state.get(
"windows99_vmware_autostart_check_mode_local_console_channel_reachable"
)
is True
),
"windows99_vmware_autostart_check_mode_public_display_only": (
state.get("windows99_vmware_autostart_check_mode_public_display_only")
is True
),
"windows99_vmware_autostart_check_mode_endpoint_execution_authorized": (
state.get(
"windows99_vmware_autostart_check_mode_endpoint_execution_authorized"
)
is True
),
"windows99_vmware_autostart_check_mode_powered_off_aliases": _strings(
state.get("windows99_vmware_autostart_check_mode_powered_off_aliases")
),