From 14d72d6f63a67dd3598cb7c1d31505bf61ee2bbc Mon Sep 17 00:00:00 2001 From: Romain PINSOLLE Date: Tue, 24 Nov 2026 10:52:46 +0100 Subject: [PATCH 1/2] ci: add a concurrency group to xma2-decoder.yml (CI-XMA2-CONCURRENCY) xma2-decoder.yml was the only workflow without a concurrency group, so a superseded pull request run kept a windows-latest runner busy until it ended. Add the same block ci.yml uses, with the group prefix xma2-decoder-. Pull requests cancel the superseded run; pushes to main are not cancelled. --- .github/workflows/xma2-decoder.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/xma2-decoder.yml b/.github/workflows/xma2-decoder.yml index 60208ae425..1ccfac0242 100644 --- a/.github/workflows/xma2-decoder.yml +++ b/.github/workflows/xma2-decoder.yml @@ -16,6 +16,11 @@ on: permissions: contents: read +concurrency: + # Coalesce superseded pending pushes per branch without canceling an active main build. + group: xma2-decoder-${{ github.event_name }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: windows-ffi: runs-on: windows-latest From 24569ea83e10d248606b4ab9b300a5fb2f1876ce Mon Sep 17 00:00:00 2001 From: Romain PINSOLLE Date: Tue, 24 Nov 2026 15:19:01 +0100 Subject: [PATCH 2/2] ci: key the xma2-decoder push group on run_id, as the other workflows will A push keyed on the ref made two pushes to main share one group, and GitHub keeps at most one pending run per group, so a queued main run was replaced by a newer one. The group now uses the PR number or the run id, which is the shape #771 gives ci.yml, jactionlint.yml, no-game-data.yml and runtime.yml. CI-XMA2-CONCURRENCY --- .github/workflows/xma2-decoder.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/xma2-decoder.yml b/.github/workflows/xma2-decoder.yml index 1ccfac0242..543cea4a42 100644 --- a/.github/workflows/xma2-decoder.yml +++ b/.github/workflows/xma2-decoder.yml @@ -17,8 +17,9 @@ permissions: contents: read concurrency: - # Coalesce superseded pending pushes per branch without canceling an active main build. - group: xma2-decoder-${{ github.event_name }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }} + # Pull requests coalesce and cancel superseded pending runs per number; a push gets its own group + # (run_id is unique per run), so a merge burst cannot replace queued main runs before they start. + group: xma2-decoder-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: