fix(backup): preserve alert receipt identity
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 2m22s
CD Pipeline / build-and-deploy (push) Successful in 11m52s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 21s
CD Pipeline / post-deploy-checks (push) Successful in 2m29s

This commit is contained in:
ogt
2026-07-14 23:34:55 +08:00
parent 63b241b71e
commit a535fa652f
10 changed files with 315 additions and 34 deletions

View File

@@ -654,7 +654,7 @@ def test_backup_alerts_cover_188_gitea_mirror_subtree() -> None:
assert 'alertname!="BackupAlertReceiptStageMissing"' in alerts
assert "label_replace(" in alerts
assert 'awoooi_backup_alert_receipt_fresh == 1' in alerts
assert "$labels.alertname" in alerts
assert "$labels.required_alert" in alerts
def test_gitea_repo_bundle_backup_is_non_interactive_and_manifested() -> None: