feat(delivery): expose non110 autostart readback

This commit is contained in:
Your Name
2026-06-29 09:22:27 +08:00
parent 992215443f
commit c53cbca4a2
5 changed files with 58 additions and 5 deletions

View File

@@ -230,6 +230,15 @@ def build_delivery_closure_workbench(
"non110_runner_online_label_match"
)
is True,
"non110_runner_autostart_path_armed": production_deploy_readback.get(
"non110_runner_autostart_path_armed"
)
is True,
"non110_runner_ready_autostart_path_count": _int(
production_deploy_readback.get(
"non110_runner_ready_autostart_path_count"
)
),
"non110_runner_registration_condition_required": production_deploy_readback.get(
"non110_runner_registration_condition_required"
)
@@ -525,6 +534,15 @@ def build_delivery_closure_workbench(
production_deploy_readback.get("non110_runner_online_label_match")
is True
),
"production_deploy_non110_runner_autostart_path_armed": (
production_deploy_readback.get("non110_runner_autostart_path_armed")
is True
),
"production_deploy_non110_runner_ready_autostart_path_count": _int(
production_deploy_readback.get(
"non110_runner_ready_autostart_path_count"
)
),
"production_deploy_non110_runner_registration_condition_required": (
production_deploy_readback.get(
"non110_runner_registration_condition_required"

View File

@@ -108,6 +108,16 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
data["summary"]["production_deploy_non110_runner_online_label_match"]
is False
)
assert (
data["summary"]["production_deploy_non110_runner_autostart_path_armed"]
is True
)
assert (
data["summary"][
"production_deploy_non110_runner_ready_autostart_path_count"
]
== 1
)
assert (
data["summary"][
"production_deploy_non110_runner_registration_condition_required"
@@ -167,7 +177,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
assert lanes["production_deploy"]["blocker_count"] == 4
assert lanes["production_deploy"]["metric"][
"observed_source_control_main_short_sha"
] == "88607eae4d36"
] == "f84269453834"
assert lanes["production_deploy"]["metric"][
"production_image_tag_short_sha"
] == "af45811e87"
@@ -266,6 +276,16 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
lanes["production_deploy"]["metric"]["non110_runner_online_label_match"]
is False
)
assert (
lanes["production_deploy"]["metric"]["non110_runner_autostart_path_armed"]
is True
)
assert (
lanes["production_deploy"]["metric"][
"non110_runner_ready_autostart_path_count"
]
== 1
)
assert (
lanes["production_deploy"]["metric"][
"non110_runner_registration_condition_required"