feat(delivery): expose runner label queue readback
Some checks failed
Agent Market Watch / market-watch (push) Failing after 0s

This commit is contained in:
Your Name
2026-06-29 08:54:20 +08:00
parent 88607eae4d
commit fef49088c3
5 changed files with 193 additions and 8 deletions

View File

@@ -169,6 +169,41 @@ def build_delivery_closure_workbench(
"latest_visible_cd_run_jobs_total_count"
)
),
"gitea_actions_list_without_token_http_status": _int(
production_deploy_readback.get(
"gitea_actions_list_without_token_http_status"
)
),
"gitea_actions_list_without_token_message": str(
production_deploy_readback.get(
"gitea_actions_list_without_token_message"
)
or ""
),
"latest_visible_waiting_runner_run_id": str(
production_deploy_readback.get(
"latest_visible_waiting_runner_run_id"
)
or ""
),
"latest_visible_waiting_runner_workflow": str(
production_deploy_readback.get(
"latest_visible_waiting_runner_workflow"
)
or ""
),
"latest_visible_waiting_runner_status": str(
production_deploy_readback.get(
"latest_visible_waiting_runner_status"
)
or ""
),
"latest_visible_waiting_runner_label": str(
production_deploy_readback.get(
"latest_visible_waiting_runner_label"
)
or ""
),
"non110_runner_ready": production_deploy_readback.get(
"non110_runner_ready"
)
@@ -191,6 +226,10 @@ def build_delivery_closure_workbench(
"non110_runner_ubuntu_label": str(
production_deploy_readback.get("non110_runner_ubuntu_label") or ""
),
"non110_runner_online_label_match": production_deploy_readback.get(
"non110_runner_online_label_match"
)
is True,
"non110_runner_registration_condition_required": production_deploy_readback.get(
"non110_runner_registration_condition_required"
)
@@ -427,6 +466,35 @@ def build_delivery_closure_workbench(
"latest_visible_cd_run_jobs_total_count"
)
),
"production_deploy_gitea_actions_list_without_token_http_status": _int(
production_deploy_readback.get(
"gitea_actions_list_without_token_http_status"
)
),
"production_deploy_gitea_actions_list_without_token_message": str(
production_deploy_readback.get(
"gitea_actions_list_without_token_message"
)
or ""
),
"production_deploy_latest_visible_waiting_runner_run_id": str(
production_deploy_readback.get("latest_visible_waiting_runner_run_id")
or ""
),
"production_deploy_latest_visible_waiting_runner_workflow": str(
production_deploy_readback.get(
"latest_visible_waiting_runner_workflow"
)
or ""
),
"production_deploy_latest_visible_waiting_runner_status": str(
production_deploy_readback.get("latest_visible_waiting_runner_status")
or ""
),
"production_deploy_latest_visible_waiting_runner_label": str(
production_deploy_readback.get("latest_visible_waiting_runner_label")
or ""
),
"production_deploy_non110_runner_ready": production_deploy_readback.get(
"non110_runner_ready"
)
@@ -453,6 +521,10 @@ def build_delivery_closure_workbench(
"production_deploy_non110_runner_ubuntu_label": str(
production_deploy_readback.get("non110_runner_ubuntu_label") or ""
),
"production_deploy_non110_runner_online_label_match": (
production_deploy_readback.get("non110_runner_online_label_match")
is True
),
"production_deploy_non110_runner_registration_condition_required": (
production_deploy_readback.get(
"non110_runner_registration_condition_required"