fix(sre): close bounded runtime contract gaps
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 4m41s
CD Pipeline / build-and-deploy (push) Successful in 15m36s
CD Pipeline / post-deploy-checks (push) Successful in 4m19s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 4m41s
CD Pipeline / build-and-deploy (push) Successful in 15m36s
CD Pipeline / post-deploy-checks (push) Successful in 4m19s
This commit is contained in:
@@ -372,6 +372,18 @@ def test_post_deploy_smoke_uses_workspace_playwright_dependency() -> None:
|
||||
assert "npx playwright" not in block
|
||||
|
||||
|
||||
def test_post_deploy_pressure_wait_covers_bounded_backup_and_metric_freshness() -> None:
|
||||
text = _workflow_text()
|
||||
block = text.split("post-deploy-checks:", 1)[1]
|
||||
block = block.split("- name: Get Commit Info", 1)[0]
|
||||
|
||||
assert "timeout-minutes: 45" in block
|
||||
assert '- name: Wait for Host Web Build Pressure' in block
|
||||
assert 'HOST_WEB_BUILD_PRESSURE_ATTEMPTS: "120"' in block
|
||||
assert 'HOST_WEB_BUILD_PRESSURE_WARN_ONLY: "1"' not in block
|
||||
assert "run: bash scripts/ci/wait-host-web-build-pressure.sh" in block
|
||||
|
||||
|
||||
def test_harbor_login_has_public_route_retry_and_safe_secret_transport() -> None:
|
||||
text = _workflow_text()
|
||||
block = text.split("- name: Login to Harbor", 1)[1]
|
||||
|
||||
Reference in New Issue
Block a user