feat(delivery): expose non110 runner readiness readback

This commit is contained in:
Your Name
2026-06-28 20:50:13 +08:00
parent c18200c23c
commit 7d7e87121f
4 changed files with 181 additions and 9 deletions

View File

@@ -152,6 +152,44 @@ def build_delivery_closure_workbench(
"latest_visible_cd_run_jobs_total_count"
)
),
"non110_runner_ready": production_deploy_readback.get(
"non110_runner_ready"
)
is True,
"non110_runner_prepare_only_source_ready": production_deploy_readback.get(
"non110_runner_prepare_only_source_ready"
)
is True,
"non110_runner_safe_registration_helper_ready": production_deploy_readback.get(
"non110_runner_safe_registration_helper_ready"
)
is True,
"non110_runner_registration_condition_required": production_deploy_readback.get(
"non110_runner_registration_condition_required"
)
is True,
"non110_runner_ready_config_count": _int(
production_deploy_readback.get(
"non110_runner_ready_config_count"
)
),
"non110_runner_ready_service_count": _int(
production_deploy_readback.get(
"non110_runner_ready_service_count"
)
),
"non110_runner_ready_registration_count": _int(
production_deploy_readback.get(
"non110_runner_ready_registration_count"
)
),
"non110_runner_remaining_blocker_count": len(
_strings(
production_deploy_readback.get(
"non110_runner_remaining_blockers"
)
)
),
},
"href": "/deployments",
"next_action": _first_string(production_deploy.get("next_actions")),
@@ -348,6 +386,44 @@ def build_delivery_closure_workbench(
"latest_visible_cd_run_jobs_total_count"
)
),
"production_deploy_non110_runner_ready": production_deploy_readback.get(
"non110_runner_ready"
)
is True,
"production_deploy_non110_runner_prepare_only_source_ready": (
production_deploy_readback.get("non110_runner_prepare_only_source_ready")
is True
),
"production_deploy_non110_runner_safe_registration_helper_ready": (
production_deploy_readback.get(
"non110_runner_safe_registration_helper_ready"
)
is True
),
"production_deploy_non110_runner_registration_condition_required": (
production_deploy_readback.get(
"non110_runner_registration_condition_required"
)
is True
),
"production_deploy_non110_runner_ready_config_count": _int(
production_deploy_readback.get("non110_runner_ready_config_count")
),
"production_deploy_non110_runner_ready_service_count": _int(
production_deploy_readback.get("non110_runner_ready_service_count")
),
"production_deploy_non110_runner_ready_registration_count": _int(
production_deploy_readback.get(
"non110_runner_ready_registration_count"
)
),
"production_deploy_non110_runner_remaining_blocker_count": len(
_strings(
production_deploy_readback.get(
"non110_runner_remaining_blockers"
)
)
),
"github_write_channel_ready": github_preflight.get(
"github_write_channel_ready"
)