Skip to content

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

@Cataldir

Description

@Cataldir

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions