Skip to content

ci.yml: adopt the v4.46.0 concurrency block (cancel superseded runs on next/hotfixes) #119

Done

Description

@Shinrai

CLDMV/.github v4.46.0 changed the ci.yml concurrency policy (#583, changelog): only the release base branch keeps a unique per-run group, so superseded runs on next, hotfixes and feature branches cancel. This repo's .github/workflows/ci.yml still carries the old block, which never cancels on next/hotfixes — that behaviour let slothlet hold 60 in-progress runs on 2026-11-26 and take every hosted job slot the org has for about an hour.

Replace the concurrency: block with the template's:

concurrency:
    group: ci-${{ github.workflow }}-${{ github.ref }}${{ github.ref == format('refs/heads/{0}', vars.CLDMV_RELEASE_BASE != '' && vars.CLDMV_RELEASE_BASE || github.event.repository.default_branch) && format('-{0}', github.run_id) || '' }}
    cancel-in-progress: true

The comment block above it in examples/individual-repo-workflows/core-cicd/ci.yml (v4.46.0 tag) explains the policy; copy it along if you like. max_parallel (default 2) needs no per-repo change.

Land on next — master picks it up with the next release.

Activity

  1. added
    priority: medium
    type: ci
    status: not started
    on Nov 27, 2026
  2. added
    status: implemented
    and removed
    status: not started
    on Nov 28, 2026
  3. cldmv-bot commented on Nov 28, 2026

    @cldmv-bot
    Contributor

    Marked status: implemented — resolved by #122, merged into next. This issue closes automatically when that work ships to the default branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: implementedtype: ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions