test(agent): assert stale harbor blocker specificity
Some checks failed
CD Pipeline / workflow-shape (push) Has been cancelled
CD Pipeline / cancel-stale-cd (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Has been cancelled
CD Pipeline / cancel-stale-cd (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
This commit is contained in:
@@ -632,6 +632,9 @@ def test_harbor_recovery_receipt_surfaces_stale_harbor_running_blocker() -> None
|
||||
}
|
||||
)
|
||||
|
||||
assert "gitea_queue_harbor_110_repair_blocked" not in payload[
|
||||
"active_blockers"
|
||||
]
|
||||
assert (
|
||||
"gitea_queue_harbor_110_repair_visible_running_jobs_api_stale"
|
||||
in payload["active_blockers"]
|
||||
@@ -641,9 +644,18 @@ def test_harbor_recovery_receipt_surfaces_stale_harbor_running_blocker() -> None
|
||||
in payload["active_blockers"]
|
||||
)
|
||||
queue = payload["readback"]["gitea_actions_queue"]
|
||||
assert queue["status"] == (
|
||||
"blocked_current_cd_waiting_behind_stale_harbor_110_repair_readback"
|
||||
)
|
||||
assert queue["harbor_110_repair_no_matching_runner"] is False
|
||||
assert queue["harbor_110_repair_visible_running_jobs_api_stale"] is True
|
||||
assert queue["current_cd_waiting_behind_harbor_110_repair_running"] is True
|
||||
readiness = payload["readback"]["control_path_readiness"]
|
||||
assert readiness["status"] == "blocked_awoooi_host_runner_queue_unavailable"
|
||||
assert readiness["harbor_110_repair_visible_running_jobs_api_stale"] is True
|
||||
assert (
|
||||
readiness["current_cd_waiting_behind_harbor_110_repair_running"] is True
|
||||
)
|
||||
assert (
|
||||
"gitea_queue_harbor_110_repair_visible_running_jobs_api_stale"
|
||||
in readiness["signal_ids"]
|
||||
|
||||
Reference in New Issue
Block a user