-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
backendcomponent:ci-cdCI/CD workflow componentCI/CD workflow componentpriority:P2High priorityHigh prioritytrackingtype:tech-debtTechnical debtTechnical debt
Description
Problem
Workflow concurrency currently uses branch-level cancel-in-progress: true, which can terminate long-running provision executions and amplify state drift/retry churn.
Type
- tech debt
Evidence
.github/workflows/azd-deploy.ymluses:concurrency.group: azd-deploy-${{ github.ref }}cancel-in-progress: true
- Recent runs:
- https://github.com/Azure-Samples/tutor/actions/runs/23126353038 (cancelled during
Provision infrastructureafter ~90m) - https://github.com/Azure-Samples/tutor/actions/runs/23125888889 (cancelled)
- https://github.com/Azure-Samples/tutor/actions/runs/23126353038 (cancelled during
- Repeated cancellations overlap with ongoing provision and obstruct clean convergence.
Reproduction
- Start a
workflow_dispatchdeploy onmain. - Trigger another deploy/push on same ref before completion.
- Observe prior in-flight run cancellation and interrupted provision.
Acceptance Criteria
- Concurrency is scoped per environment and does not cancel active
provisionin-flight for same env. - New runs queue or fail-fast with explicit message instead of interrupting active infra apply.
- Workflow summary surfaces cancellation reason and superseding run id.
- Document runbook guidance for safe re-run behavior.
Suggested Owner
platform-quality
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendcomponent:ci-cdCI/CD workflow componentCI/CD workflow componentpriority:P2High priorityHigh prioritytrackingtype:tech-debtTechnical debtTechnical debt