fix(github): expose operator unblock actions
This commit is contained in:
@@ -2429,6 +2429,18 @@ export interface AwoooIStatusCleanupDashboardSnapshot {
|
||||
ui_implementation_authorized: false
|
||||
}
|
||||
|
||||
export interface DeliveryOperatorUnblock {
|
||||
required: boolean
|
||||
status: string
|
||||
github_account_status: string
|
||||
github_account_suspended: boolean
|
||||
github_api_forbidden_count: number
|
||||
required_actions: string[]
|
||||
recheck_commands: string[]
|
||||
still_forbidden: string[]
|
||||
safe_handoff: string
|
||||
}
|
||||
|
||||
export interface DeliveryClosureWorkbenchSnapshot {
|
||||
schema_version: 'delivery_closure_workbench_v1'
|
||||
generated_at: string
|
||||
@@ -2438,18 +2450,28 @@ export interface DeliveryClosureWorkbenchSnapshot {
|
||||
loaded_source_count: number
|
||||
average_completion_percent: number
|
||||
high_risk_blocker_count: number
|
||||
runtime_execution_authorized: false
|
||||
remote_write_authorized: false
|
||||
repo_creation_authorized: false
|
||||
refs_sync_authorized: false
|
||||
workflow_trigger_authorized: false
|
||||
secret_values_collected: false
|
||||
runtime_execution_authorized: boolean
|
||||
remote_write_authorized: boolean
|
||||
repo_creation_authorized: boolean
|
||||
visibility_change_authorized: boolean
|
||||
refs_sync_authorized: boolean
|
||||
workflow_trigger_authorized: boolean
|
||||
github_write_channel_ready: boolean
|
||||
github_account_status: string
|
||||
github_account_suspended: boolean
|
||||
github_api_forbidden_count: number
|
||||
github_controlled_apply_ready_count: number
|
||||
github_blocked_preflight_target_count: number
|
||||
github_operator_unblock_required: boolean
|
||||
github_operator_unblock_status: string
|
||||
secret_values_collected: boolean
|
||||
}
|
||||
source_statuses: Array<{
|
||||
id: string
|
||||
loaded: boolean
|
||||
schema_version: string
|
||||
generated_at: string
|
||||
missing_reason: string
|
||||
}>
|
||||
lanes: Array<{
|
||||
id: 'release' | 'github' | 'gitea' | 'runtime' | 'backup'
|
||||
@@ -2459,11 +2481,21 @@ export interface DeliveryClosureWorkbenchSnapshot {
|
||||
blocker_count: number
|
||||
metric:
|
||||
| { kind: 'blocked_gate'; blocked: number; total: number }
|
||||
| { kind: 'private_backup_verified'; verified: number; total: number }
|
||||
| {
|
||||
kind: 'private_backup_verified'
|
||||
verified: number
|
||||
total: number
|
||||
controlled_apply_ready: number
|
||||
blocked_preflight: number
|
||||
write_channel_ready: boolean
|
||||
github_account_status: string
|
||||
github_account_suspended: boolean
|
||||
}
|
||||
| { kind: 'workflow_count'; count: number }
|
||||
| { kind: 'surface_count'; total: number }
|
||||
| { kind: 'readiness_row_count'; rows: number }
|
||||
href: string
|
||||
operator_unblock?: DeliveryOperatorUnblock
|
||||
next_action: string
|
||||
tone: 'ok' | 'warn' | 'danger'
|
||||
}>
|
||||
@@ -2475,15 +2507,17 @@ export interface DeliveryClosureWorkbenchSnapshot {
|
||||
}>
|
||||
operation_boundaries: {
|
||||
read_only_api_allowed: true
|
||||
runtime_write_allowed: false
|
||||
remote_write_allowed: false
|
||||
repo_creation_allowed: false
|
||||
visibility_change_allowed: false
|
||||
refs_sync_allowed: false
|
||||
workflow_trigger_allowed: false
|
||||
secret_value_collection_allowed: false
|
||||
backup_restore_execution_allowed: false
|
||||
active_scan_allowed: false
|
||||
runtime_write_allowed: boolean
|
||||
remote_write_allowed: boolean
|
||||
repo_creation_allowed: boolean
|
||||
visibility_change_allowed: boolean
|
||||
refs_sync_allowed: boolean
|
||||
workflow_trigger_allowed: boolean
|
||||
github_write_channel_ready: boolean
|
||||
github_controlled_apply_allowed: boolean
|
||||
secret_value_collection_allowed: boolean
|
||||
backup_restore_execution_allowed: boolean
|
||||
active_scan_allowed: boolean
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user