Skip to content

[feature]: Implement workflow-specific concurrency groups to fix matrix aggregation #2073

@devantler

Description

@devantler

Context

Issue #1903 shows recurring CI matrix aggregation failures caused by concurrency race conditions.

Root Cause

Multiple workflows (CI-KSail, CI-Go) sharing the same concurrency group cancel each other's jobs.

Solution

Update concurrency group to be workflow-specific:

concurrency:
  group: "ci-ksail-${{ github.workflow }}-${{ github.ref }}"
  cancel-in-progress: true

Implementation

  1. Update .github/workflows/ci.yaml concurrency config
  2. Apply pattern to other workflows
  3. Monitor next 5-10 merge queue runs
  4. Document pattern in workflow best practices

Acceptance Criteria

  • Concurrency groups include workflow name
  • No cross-workflow cancellations
  • Matrix aggregation false failures eliminated
  • Pattern documented for future workflows

Timeline

1 week

Related

#1903 (parent investigation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    🚩 Prioritized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions