Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[P2] ci-cd: cancel-in-progress interrupts long provision and increases drift risk

Open
#116 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, github-actions

Research direction

Start with .github/workflows/azd-deploy.yml and inspect the concurrency settings around the workflow_dispatch deployment and Provision infrastructure step. Reproduce the same-ref rerun scenario described in the issue, then verify that active provisioning is not interrupted, cancellation details identify the superseding run, and runbook guidance covers safe reruns.

Written by the indexing model from the issue text.

Description

backend component:ci-cd priority:P2 tracking type:tech-debt

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

Reproduction

  1. Start a workflow_dispatch deploy on main.
  2. Trigger another deploy/push on same ref before completion.
  3. Observe prior in-flight run cancellation and interrupted provision.

Acceptance Criteria

  • Concurrency is scoped per environment and does not cancel active provision in-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

Dominant language
Python
Stars
17
Forks
8
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure-Samples/tutor

All issues in Azure-Samples/tutor

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.