fix(runner): mark non110 cd closure verified
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 3m1s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 3m1s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
This commit is contained in:
@@ -25,11 +25,11 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
assert data["summary"]["refs_sync_authorized"] is True
|
||||
assert data["summary"]["workflow_trigger_authorized"] is True
|
||||
assert data["summary"]["production_deploy_status"] == (
|
||||
"blocked_production_image_not_current"
|
||||
"closure_verified"
|
||||
)
|
||||
assert data["summary"]["production_deploy_source_control_main_ready"] is True
|
||||
assert data["summary"]["production_deploy_image_tag_matches_main"] is False
|
||||
assert data["summary"]["production_deploy_governance_fields_present"] is False
|
||||
assert data["summary"]["production_deploy_image_tag_matches_main"] is True
|
||||
assert data["summary"]["production_deploy_governance_fields_present"] is True
|
||||
assert (
|
||||
data["summary"]["production_deploy_authorized_dispatch_channel_ready"]
|
||||
is False
|
||||
@@ -44,10 +44,10 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
data["summary"]["production_deploy_dispatch_without_token_message"]
|
||||
== "token is required"
|
||||
)
|
||||
assert data["summary"]["production_deploy_hard_blocker_count"] == 2
|
||||
assert data["summary"]["production_deploy_latest_visible_cd_run_id"] == "3853"
|
||||
assert data["summary"]["production_deploy_hard_blocker_count"] == 0
|
||||
assert data["summary"]["production_deploy_latest_visible_cd_run_id"] == "3863"
|
||||
assert data["summary"]["production_deploy_latest_visible_cd_run_status"] == (
|
||||
"Waiting"
|
||||
"Success"
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_latest_visible_cd_run_jobs_total_count"]
|
||||
@@ -101,7 +101,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_cd_closure_status"]
|
||||
== "blocked_production_image_not_current"
|
||||
== "closure_verified"
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_cd_closure_required"]
|
||||
@@ -121,41 +121,41 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_ordered_completed_prefix_count"
|
||||
]
|
||||
== 4
|
||||
== 6
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_evidence_completed_step_count"
|
||||
]
|
||||
== 4
|
||||
== 6
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_ordered_completion_percent"
|
||||
]
|
||||
== 67
|
||||
== 100
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_evidence_completion_percent"
|
||||
]
|
||||
== 67
|
||||
== 100
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_next_blocked_step_index"
|
||||
]
|
||||
== 5
|
||||
== 0
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_next_blocked_step_id"
|
||||
]
|
||||
== "production_image_tag_current"
|
||||
== ""
|
||||
)
|
||||
assert data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_next_blocked_step_action"
|
||||
] == "complete_authorized_cd_then_verify_image_tag_matches_main"
|
||||
] == ""
|
||||
assert data["summary"]["production_deploy_non110_runner_ready"] is True
|
||||
assert (
|
||||
data["summary"][
|
||||
@@ -207,9 +207,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
data["summary"]["production_deploy_non110_runner_ready_registration_count"]
|
||||
== 1
|
||||
)
|
||||
assert data["summary"]["production_deploy_non110_runner_safe_next_step"] == (
|
||||
"complete_authorized_cd_then_verify_image_tag_matches_main"
|
||||
)
|
||||
assert data["summary"]["production_deploy_non110_runner_safe_next_step"] == ""
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_remaining_blocker_count"]
|
||||
== 0
|
||||
@@ -285,21 +283,19 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
assert lanes["release"]["metric"]["blocked"] == 0
|
||||
assert lanes["release"]["metric"]["total"] == 5
|
||||
assert lanes["production_deploy"]["metric"]["kind"] == "deploy_readback"
|
||||
assert lanes["production_deploy"]["status"] == (
|
||||
"blocked_production_image_not_current"
|
||||
)
|
||||
assert lanes["production_deploy"]["blocker_count"] == 2
|
||||
assert lanes["production_deploy"]["status"] == "closure_verified"
|
||||
assert lanes["production_deploy"]["blocker_count"] == 0
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"observed_source_control_main_short_sha"
|
||||
] == "1ca806fd5d28"
|
||||
] == "a70c6756d9"
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"production_image_tag_short_sha"
|
||||
] == "af45811e87"
|
||||
] == "a70c6756d9"
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["production_image_tag_matches_main"]
|
||||
is False
|
||||
is True
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"]["current_main_cd_run_visible"] is False
|
||||
assert lanes["production_deploy"]["metric"]["current_main_cd_run_visible"] is True
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["authorized_dispatch_channel_ready"]
|
||||
is False
|
||||
@@ -316,10 +312,10 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
lanes["production_deploy"]["metric"]["dispatch_without_token_message"]
|
||||
== "token is required"
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"]["latest_visible_cd_run_id"] == "3853"
|
||||
assert lanes["production_deploy"]["metric"]["latest_visible_cd_run_id"] == "3863"
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["latest_visible_cd_run_status"]
|
||||
== "Waiting"
|
||||
== "Success"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
@@ -381,7 +377,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["non110_runner_cd_closure_status"]
|
||||
== "blocked_production_image_not_current"
|
||||
== "closure_verified"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["non110_runner_cd_closure_required"]
|
||||
@@ -401,41 +397,41 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_ordered_completed_prefix_count"
|
||||
]
|
||||
== 4
|
||||
== 6
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_evidence_completed_step_count"
|
||||
]
|
||||
== 4
|
||||
== 6
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_ordered_completion_percent"
|
||||
]
|
||||
== 67
|
||||
== 100
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_evidence_completion_percent"
|
||||
]
|
||||
== 67
|
||||
== 100
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_next_blocked_step_index"
|
||||
]
|
||||
== 5
|
||||
== 0
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_next_blocked_step_id"
|
||||
]
|
||||
== "production_image_tag_current"
|
||||
== ""
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_next_blocked_step_action"
|
||||
] == "complete_authorized_cd_then_verify_image_tag_matches_main"
|
||||
] == ""
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_ready"] is True
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
@@ -491,9 +487,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
]
|
||||
== 1
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_safe_next_step"] == (
|
||||
"complete_authorized_cd_then_verify_image_tag_matches_main"
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_safe_next_step"] == ""
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_remaining_blocker_count"
|
||||
|
||||
Reference in New Issue
Block a user