fix(api): align reboot slo workbench readback tests
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 20s
CD Pipeline / build-and-deploy (push) Successful in 4m49s
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-29 20:31:40 +08:00
parent a46c38c989
commit f1a264cf0c
3 changed files with 21 additions and 7 deletions

View File

@@ -192,8 +192,8 @@ def test_delivery_closure_workbench_exposes_p0_006_reboot_slo_lane():
assert lane["metric"]["secret_value_collection_allowed"] is False
assert "stockplatform_freshness_blocked" in lane["metric"]["active_blockers"]
assert lane["next_action"] == (
"inspect_stockplatform_ingestion_readback_and_wait_retry_windows_then_"
"rerun_slo_verify_only_no_reboot"
"wait_next_stockplatform_retry_window_then_rerun_slo_verify_only_"
"no_reboot_no_db_write"
)
@@ -244,8 +244,8 @@ def _assert_delivery_workbench_shape(data: dict):
is False
)
assert data["summary"]["reboot_auto_recovery_safe_next_step"] == (
"inspect_stockplatform_ingestion_readback_and_wait_retry_windows_then_"
"rerun_slo_verify_only_no_reboot"
"wait_next_stockplatform_retry_window_then_rerun_slo_verify_only_"
"no_reboot_no_db_write"
)
assert data["summary"]["gitea_private_inventory_status"] == (
"blocked_waiting_gitea_authenticated_or_owner_export_inventory"