fix(api): verify production deploy image readback
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 39s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped

This commit is contained in:
Your Name
2026-06-30 08:25:39 +08:00
parent ff7febbf62
commit b3183582a6
7 changed files with 254 additions and 61 deletions

View File

@@ -50,6 +50,14 @@ def test_workflow_secret_transport_sources_stay_on_controlled_runtime_profile()
assert source in text
def test_cd_requires_production_deploy_readback_after_rollout() -> None:
text = _workflow_text()
assert "production_deploy_readback_mismatch=" in text
assert "production_deploy_runtime_build_commit_short_sha" in text
assert "production_deploy_desired_main_api_image_tag_short_sha" in text
assert "production_deploy_desired_main_api_image_tag_readback_status" in text
def test_onboarding_warning_step_template_stays_on_controlled_runtime_profile() -> None:
text = _workflow_text()
assert "onboarding warning-step workflow is" in text