fix(cd): keep recovery evidence on controlled profile
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-30 19:07:38 +08:00
parent c6c90e72f9
commit c60b7ce416
3 changed files with 36 additions and 0 deletions

View File

@@ -355,6 +355,10 @@ def test_reboot_auto_recovery_slo_sources_stay_on_controlled_runtime_profile() -
def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> None:
text = _workflow_text()
expected_sources = [
"docs/runbooks/REBOOT-POST-START-QUICK-CHECK.md)",
"docs/workplans/2026-06-04-reboot-cold-start-backup-recovery-workplan.md)",
"ops/monitoring/alerts-unified.yml)",
"scripts/ops/backup-health-textfile-exporter.py)",
"scripts/reboot-recovery/post-start-quick-check.sh)",
"scripts/reboot-recovery/188-host-hygiene-maintenance-checklist.sh)",
"scripts/reboot-recovery/full-stack-cold-start-check.sh)",
@@ -363,6 +367,9 @@ def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> N
"scripts/reboot-recovery/tests/test_188_host_hygiene_checklist.py)",
"scripts/reboot-recovery/tests/test_post_start_quick_check_contract.py)",
"scripts/reboot-recovery/tests/test_cold_start_monitor_bounded_probes.py)",
"scripts/reboot-recovery/tests/test_reboot_p0_operational_contract.py)",
"../../scripts/ops/backup-health-textfile-exporter.py",
"../../ops/monitoring/alerts-unified.yml",
"../../scripts/reboot-recovery/post-start-quick-check.sh",
"../../scripts/reboot-recovery/188-host-hygiene-maintenance-checklist.sh",
"../../scripts/reboot-recovery/full-stack-cold-start-check.sh",
@@ -371,6 +378,7 @@ def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> N
"../../scripts/reboot-recovery/tests/test_188_host_hygiene_checklist.py",
"../../scripts/reboot-recovery/tests/test_post_start_quick_check_contract.py",
"../../scripts/reboot-recovery/tests/test_cold_start_monitor_bounded_probes.py",
"../../scripts/reboot-recovery/tests/test_reboot_p0_operational_contract.py",
]
for source in expected_sources:
assert source in text