fix(cd): keep post-start recovery verifiers on controlled profile
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 16s
CD Pipeline / build-and-deploy (push) Successful in 3m34s
CD Pipeline / post-deploy-checks (push) Successful in 57s

This commit is contained in:
Your Name
2026-06-29 15:11:18 +08:00
parent 5e843e81c1
commit 16dbf7ca34
2 changed files with 32 additions and 0 deletions

View File

@@ -125,6 +125,22 @@ def test_reboot_auto_recovery_slo_sources_stay_on_controlled_runtime_profile() -
assert source in text
def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> None:
text = _workflow_text()
expected_sources = [
"scripts/reboot-recovery/post-start-quick-check.sh)",
"scripts/reboot-recovery/188-host-hygiene-maintenance-checklist.sh)",
"scripts/reboot-recovery/tests/test_188_host_hygiene_checklist.py)",
"scripts/reboot-recovery/tests/test_post_start_quick_check_contract.py)",
"../../scripts/reboot-recovery/post-start-quick-check.sh",
"../../scripts/reboot-recovery/188-host-hygiene-maintenance-checklist.sh",
"../../scripts/reboot-recovery/tests/test_188_host_hygiene_checklist.py",
"../../scripts/reboot-recovery/tests/test_post_start_quick_check_contract.py",
]
for source in expected_sources:
assert source in text
def test_controlled_runtime_skips_b5_before_docker_socket_use() -> None:
text = _workflow_text()
b5_start = text.index("- name: Integration Tests (B5")