fix(cd): keep backup pressure receipts on controlled profile
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 38s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-01 23:38:32 +08:00
parent fffebf9597
commit 670cf9afd6
2 changed files with 30 additions and 0 deletions

View File

@@ -104,11 +104,19 @@ def test_backup_freshness_sources_stay_on_controlled_runtime_profile() -> None:
text = _workflow_text()
expected_sources = [
"scripts/backup/backup-awoooi-frequent.sh)",
"scripts/backup/backup-status.sh)",
"scripts/backup/gitea-repo-bundle-backup.sh)",
"scripts/backup/tests/test_backup_status_contract.py)",
"scripts/ops/backup-alert-label-contract-check.py)",
"scripts/ops/backup-health-textfile-exporter.py)",
"scripts/ops/tests/test_backup_health_textfile_exporter.py)",
"scripts/ops/tests/test_host_pressure_alert_contract.py)",
"../../scripts/backup/backup-awoooi-frequent.sh",
"../../scripts/backup/backup-status.sh",
"../../scripts/backup/tests/test_backup_status_contract.py",
"../../scripts/ops/backup-alert-label-contract-check.py",
"../../scripts/ops/tests/test_backup_health_textfile_exporter.py",
"../../scripts/ops/tests/test_host_pressure_alert_contract.py",
]
for source in expected_sources:
assert source in text
@@ -697,6 +705,7 @@ def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> N
"docs/runbooks/FULL-STACK-COLD-START-SOP.md)",
"docs/workplans/2026-06-04-reboot-cold-start-backup-recovery-workplan.md)",
"ops/monitoring/alerts-unified.yml)",
"ops/monitoring/alerts.yml)",
"ops/runner/awoooi-cd-lane-drain.service)",
"ops/runner/check-awoooi-110-controlled-cd-lane-readiness.sh)",
"ops/runner/test_check_awoooi_110_controlled_cd_lane_readiness.py)",
@@ -704,6 +713,7 @@ def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> N
"scripts/ops/backup-health-textfile-exporter.py)",
"scripts/reboot-recovery/deploy-to-110.sh)",
"scripts/reboot-recovery/recover-110-control-path-and-harbor-local.sh)",
"scripts/reboot-recovery/apply-credential-escrow-closeout-receipt-to-110.sh)",
"scripts/reboot-recovery/post-start-quick-check.sh)",
"scripts/reboot-recovery/reboot-recovery-readiness-audit.sh)",
"scripts/reboot-recovery/188-host-hygiene-maintenance-checklist.sh)",
@@ -726,9 +736,11 @@ def test_post_start_recovery_verifiers_stay_on_controlled_runtime_profile() -> N
"../../scripts/ops/backup-health-textfile-exporter.py",
"../../scripts/backup/gitea-repo-bundle-backup.sh",
"../../ops/monitoring/alerts-unified.yml",
"../../ops/monitoring/alerts.yml",
"../../ops/runner/check-awoooi-110-controlled-cd-lane-readiness.sh",
"../../scripts/reboot-recovery/deploy-to-110.sh",
"../../scripts/reboot-recovery/recover-110-control-path-and-harbor-local.sh",
"../../scripts/reboot-recovery/apply-credential-escrow-closeout-receipt-to-110.sh",
"../../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",