fix(cd): queue main deployments without cancellation
This commit is contained in:
@@ -40,3 +40,12 @@ def test_cd_source_link_gate_uses_current_deploy_canary() -> None:
|
||||
assert "--work-item-id \"${SOURCE_LINK_CANARY_WORK_ITEM_ID}\"" in text
|
||||
assert "--expected-source-event-provider-event-id \"${SOURCE_LINK_CANARY_EVENT_ID}\"" in text
|
||||
assert "codex-sentry-20260513-t15b-v3" not in text
|
||||
|
||||
|
||||
def test_cd_main_pushes_queue_without_canceling_active_deploys() -> None:
|
||||
text = _workflow_text()
|
||||
concurrency = text.split("concurrency:", 1)[1].split("env:", 1)[0]
|
||||
|
||||
assert "group: cd-deploy-${{ github.ref }}" in concurrency
|
||||
assert "cancel-in-progress: false" in concurrency
|
||||
assert "cancel-in-progress: true" not in concurrency
|
||||
|
||||
Reference in New Issue
Block a user