[P2] ci-cd: cancel-in-progress interrupts long provision and increases drift risk
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- azure, github-actions
- 領域
- ci-cd, cloud, infrastructure
調査の方向性
.github/workflows/azd-deploy.yml から始め、workflow_dispatch によるデプロイと Provision infrastructure ステップ周辺の concurrency 設定を調べます。issue で説明されている同じ ref での再実行シナリオを再現し、アクティブなプロビジョニングが中断されないこと、キャンセルの詳細で後続の実行が特定されること、そして runbook のガイダンスで安全な再実行が扱われていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 17
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure-Samples/tutor のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Azure-Samples/tutor#230 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Azure-Samples/tutor#229 · コメント 1 件 ·
-
frontend priority:P2 type:tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Azure-Samples/tutor#224 · コメント 3 件 ·
-
component:ci-cd frontend priority:P1 type:tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Azure-Samples/tutor#223 · コメント 2 件 ·
-
frontend priority:P1 type:feature
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
Azure-Samples/tutor#222 · コメント 1 件 ·
Azure-Samples/tutor の issue をすべて見る
似ている issue
-
bug difficulty:2 good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MakazhanAlpamys/Soup#1865 ·
メンテナーはふだん 1 日以内に返信
-
area: agents area: docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openapi/gknowledge#23 ·
-
useless-suppression reported for deprecated-* messages that should be exempt対応中かも @adityasinha-ghub が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pylint-dev/pylint#11656 ·
メンテナーはふだん 1 日以内に返信
-
area:provisioning effort:S priority:P2 provider:local-libvirt risk:daytime-only status:in-progress type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
randomparity/kdive#3203 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
get() for StrEnum対応中かも @FeJo5952 が今日担当しました。 オープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
collective/icalendar#1921 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信