Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

CI: stop main and nightly runs cancelling each other (#8070)

Daniel Handb7a3121fcae
diff --git a/.github/workflows/clean-machine-install-ci.yml b/.github/workflows/clean-machine-install-ci.yml
index 5ec787e30e6..6d14423e5cf 100644
--- a/.github/workflows/clean-machine-install-ci.yml
+++ b/.github/workflows/clean-machine-install-ci.yml
@@ -100,7 +100,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/consolidated-tests-ci.yml b/.github/workflows/consolidated-tests-ci.yml
index 3b02c73066d..a8128abee16 100644
--- a/.github/workflows/consolidated-tests-ci.yml
+++ b/.github/workflows/consolidated-tests-ci.yml
@@ -59,7 +59,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/cross-platform-parity-ci.yml b/.github/workflows/cross-platform-parity-ci.yml
index ec54214192c..17cb561defb 100644
--- a/.github/workflows/cross-platform-parity-ci.yml
+++ b/.github/workflows/cross-platform-parity-ci.yml
@@ -60,7 +60,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/desktop-app-clean-machine-ci.yml b/.github/workflows/desktop-app-clean-machine-ci.yml
index 59c7d212968..8d273ecff17 100644
--- a/.github/workflows/desktop-app-clean-machine-ci.yml
+++ b/.github/workflows/desktop-app-clean-machine-ci.yml
@@ -51,7 +51,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
# Drafts are listed only to a token with push access, and every desktop-v* release here
diff --git a/.github/workflows/lint-ci.yml b/.github/workflows/lint-ci.yml
index 5dfbf5ce82d..8fc82710309 100644
--- a/.github/workflows/lint-ci.yml
+++ b/.github/workflows/lint-ci.yml
@@ -32,7 +32,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/local-agent-guides-ci.yml b/.github/workflows/local-agent-guides-ci.yml
index 90f2f65ed1b..08657de0cc1 100644
--- a/.github/workflows/local-agent-guides-ci.yml
+++ b/.github/workflows/local-agent-guides-ci.yml
@@ -84,8 +84,16 @@ on:
- '.github/scripts/ci-min-system-prompt.txt'
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # The event is part of the group so a scheduled run and a push to main cannot
+ # coalesce. Both resolve to refs/heads/main, and the default queue: single keeps
+ # only one pending run, so without this a merge burst silently drops the nightly:
+ # cancel-in-progress protects the running run, never the pending one.
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/lockfile-audit.yml b/.github/workflows/lockfile-audit.yml
index aaf258d6150..a310347d720 100644
--- a/.github/workflows/lockfile-audit.yml
+++ b/.github/workflows/lockfile-audit.yml
@@ -48,8 +48,16 @@ on:
workflow_dispatch:
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # The event is part of the group so a scheduled run and a push to main cannot
+ # coalesce. Both resolve to refs/heads/main, and the default queue: single keeps
+ # only one pending run, so without this a merge burst silently drops the nightly:
+ # cancel-in-progress protects the running run, never the pending one.
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/mlx-ci.yml b/.github/workflows/mlx-ci.yml
index 5a91c844b7d..da556c68e3d 100644
--- a/.github/workflows/mlx-ci.yml
+++ b/.github/workflows/mlx-ci.yml
@@ -93,7 +93,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/notebooks-ci.yml b/.github/workflows/notebooks-ci.yml
index 642297ebedf..71853184e57 100644
--- a/.github/workflows/notebooks-ci.yml
+++ b/.github/workflows/notebooks-ci.yml
@@ -50,7 +50,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/ossf.yml b/.github/workflows/ossf.yml
index f9a270540f6..2141c83b9aa 100644
--- a/.github/workflows/ossf.yml
+++ b/.github/workflows/ossf.yml
@@ -14,6 +14,18 @@ on:
push:
branches: [ "main" ]
+# Serialize, never cancel. The value of this workflow is the SARIF history in
+# the code scanning dashboard and the published OpenSSF result, so a superseded
+# run is still a data point worth keeping. Grouping only coalesces the burst of
+# main pushes down to one in-flight run plus one pending.
+concurrency:
+ # The event is part of the group so a scheduled run and a push to main cannot
+ # coalesce. Both resolve to refs/heads/main, and the default queue: single keeps
+ # only one pending run, so without this a merge burst silently drops the nightly:
+ # cancel-in-progress protects the running run, never the pending one.
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
+ cancel-in-progress: false
+
# Declare default permissions as read only.
permissions: read-all
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index 3b188759014..74c5d5401c5 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -50,6 +50,12 @@ env:
concurrency:
group: release-desktop-${{ github.repository }}
cancel-in-progress: false
+ # publish-desktop-updater.yml shares this group and already sets queue: max.
+ # Without it here, the default queue: single silently cancels a *pending*
+ # release the moment a second one is dispatched or a publish lands, which
+ # looks identical to a release that was never dispatched. A queued release
+ # holds no runner, so waiting is free.
+ queue: max
jobs:
# Ask the sweeper to stand scheduled CI down while this release builds. Same
diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml
index 393220d2e7e..4d856d4cb9a 100644
--- a/.github/workflows/security-audit.yml
+++ b/.github/workflows/security-audit.yml
@@ -63,8 +63,16 @@ on:
workflow_dispatch:
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # The event is part of the group so a scheduled run and a push to main cannot
+ # coalesce. Both resolve to refs/heads/main, and the default queue: single keeps
+ # only one pending run, so without this a merge burst silently drops the nightly:
+ # cancel-in-progress protects the running run, never the pending one.
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 1a4cf841d09..eee9726748d 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -4,6 +4,13 @@ on:
schedule:
- cron: '30 5 * * *' # Runs at 5:30 UTC every day
+# Serialize, never cancel. This job comments on up to 500 issues per run, so a
+# cancelled run leaves a half-pinged backlog and no record of where it stopped.
+# Two runs overlapping would double-ping the same issues.
+concurrency:
+ group: stale-${{ github.repository }}
+ cancel-in-progress: false
+
jobs:
stale:
runs-on: ubuntu-latest
diff --git a/.github/workflows/studio-api-smoke.yml b/.github/workflows/studio-api-smoke.yml
index 8ba3a108cf9..3e4145ccf33 100644
--- a/.github/workflows/studio-api-smoke.yml
+++ b/.github/workflows/studio-api-smoke.yml
@@ -41,7 +41,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-backend-ci.yml b/.github/workflows/studio-backend-ci.yml
index d57e4638bc5..c909d8d3e9a 100644
--- a/.github/workflows/studio-backend-ci.yml
+++ b/.github/workflows/studio-backend-ci.yml
@@ -44,7 +44,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-export-capability-ci.yml b/.github/workflows/studio-export-capability-ci.yml
index 1953b2be7fc..8296521b1be 100644
--- a/.github/workflows/studio-export-capability-ci.yml
+++ b/.github/workflows/studio-export-capability-ci.yml
@@ -26,7 +26,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-frontend-ci.yml b/.github/workflows/studio-frontend-ci.yml
index 99d759df617..c2891c392b9 100644
--- a/.github/workflows/studio-frontend-ci.yml
+++ b/.github/workflows/studio-frontend-ci.yml
@@ -25,7 +25,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-inference-smoke.yml b/.github/workflows/studio-inference-smoke.yml
index b6f9db15ee7..ba54381443d 100644
--- a/.github/workflows/studio-inference-smoke.yml
+++ b/.github/workflows/studio-inference-smoke.yml
@@ -54,7 +54,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-load-orchestrator-ci.yml b/.github/workflows/studio-load-orchestrator-ci.yml
index fb8121ec1a7..af2d377dfbe 100644
--- a/.github/workflows/studio-load-orchestrator-ci.yml
+++ b/.github/workflows/studio-load-orchestrator-ci.yml
@@ -29,7 +29,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-mac-inference-smoke.yml b/.github/workflows/studio-mac-inference-smoke.yml
index d135f9132bd..3a0ebb1f915 100644
--- a/.github/workflows/studio-mac-inference-smoke.yml
+++ b/.github/workflows/studio-mac-inference-smoke.yml
@@ -56,7 +56,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-mac-install-matrix.yml b/.github/workflows/studio-mac-install-matrix.yml
index 92aa2014a20..655412352c8 100644
--- a/.github/workflows/studio-mac-install-matrix.yml
+++ b/.github/workflows/studio-mac-install-matrix.yml
@@ -25,7 +25,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-mac-ui-smoke.yml b/.github/workflows/studio-mac-ui-smoke.yml
index 2e4db793578..662e39b7fad 100644
--- a/.github/workflows/studio-mac-ui-smoke.yml
+++ b/.github/workflows/studio-mac-ui-smoke.yml
@@ -55,7 +55,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-tauri-smoke.yml b/.github/workflows/studio-tauri-smoke.yml
index 4972c1b6c51..a46ab073d22 100644
--- a/.github/workflows/studio-tauri-smoke.yml
+++ b/.github/workflows/studio-tauri-smoke.yml
@@ -28,7 +28,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-update-smoke.yml b/.github/workflows/studio-update-smoke.yml
index 447d738c669..643085de2a3 100644
--- a/.github/workflows/studio-update-smoke.yml
+++ b/.github/workflows/studio-update-smoke.yml
@@ -32,7 +32,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-windows-api-smoke.yml b/.github/workflows/studio-windows-api-smoke.yml
index 6c12f9e767a..d35e8280817 100644
--- a/.github/workflows/studio-windows-api-smoke.yml
+++ b/.github/workflows/studio-windows-api-smoke.yml
@@ -33,7 +33,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-windows-inference-smoke.yml b/.github/workflows/studio-windows-inference-smoke.yml
index fdb16d9074f..b87ef18bd3d 100644
--- a/.github/workflows/studio-windows-inference-smoke.yml
+++ b/.github/workflows/studio-windows-inference-smoke.yml
@@ -47,7 +47,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-windows-ui-smoke.yml b/.github/workflows/studio-windows-ui-smoke.yml
index ee476de12fe..069ebae5508 100644
--- a/.github/workflows/studio-windows-ui-smoke.yml
+++ b/.github/workflows/studio-windows-ui-smoke.yml
@@ -32,7 +32,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/studio-windows-update-smoke.yml b/.github/workflows/studio-windows-update-smoke.yml
index 4d7e18e253d..47d23c5524b 100644
--- a/.github/workflows/studio-windows-update-smoke.yml
+++ b/.github/workflows/studio-windows-update-smoke.yml
@@ -40,7 +40,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/version-compat-ci.yml b/.github/workflows/version-compat-ci.yml
index 6becccc90ae..27ef4aee3ea 100644
--- a/.github/workflows/version-compat-ci.yml
+++ b/.github/workflows/version-compat-ci.yml
@@ -46,7 +46,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
diff --git a/.github/workflows/wheel-smoke.yml b/.github/workflows/wheel-smoke.yml
index a91a005c045..90d94a4af41 100644
--- a/.github/workflows/wheel-smoke.yml
+++ b/.github/workflows/wheel-smoke.yml
@@ -36,7 +36,11 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ # Latest-only on branches, never on main. Pushes to main land in bursts, so
+ # cancelling superseded runs there throws away the run that would have
+ # reported a regression, and the run that writes the shared caches. Same
+ # reasoning, and the same incident, as studio-ui-smoke.yml.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read