fix(api): expose reboot drill preflight readback rollups
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 22s
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-06-30 01:04:07 +08:00
parent f1ad1f000c
commit 88145ea07c
4 changed files with 184 additions and 70 deletions

View File

@@ -2595,6 +2595,42 @@ export interface RebootAutoRecoveryDrillPreflightSnapshot {
break_glass_authorization_required: boolean
execution_authorized_by_this_endpoint: boolean
safe_next_step: string
readback: {
workplan_id: 'P0-006'
workplan_title: string
source_scorecard_status: string
preflight_ready: boolean
break_glass_authorization_required: boolean
execution_authorized_by_this_endpoint: boolean
target_selector: RebootAutoRecoveryDrillPreflightSnapshot['target_selector']
current_readback: RebootAutoRecoveryDrillPreflightSnapshot['current_readback']
check_mode: RebootAutoRecoveryDrillPreflightSnapshot['check_mode']
rollback_plan: RebootAutoRecoveryDrillPreflightSnapshot['rollback_plan']
safe_next_step: string
}
rollups: {
preflight_ready: boolean
preflight_ready_count: number
preflight_blocker_count: number
target_required_host_count: number
target_observed_host_count: number
target_missing_host_count: number
target_unreachable_host_count: number
target_stale_host_count: number
service_green: boolean
product_data_green: boolean
backup_core_green: boolean
stockplatform_freshness_ok: boolean
stockplatform_ingestion_ok: boolean
blocked_only_by_fresh_reboot_window: boolean
break_glass_authorization_required: boolean
execution_authorized_by_this_endpoint: boolean
host_reboot_authorized_by_this_endpoint: boolean
workflow_trigger_performed: boolean
secret_value_collection_allowed: boolean
runtime_write_allowed: boolean
}
active_blockers: string[]
target_selector: {
scope: string
required_host_aliases: string[]