[SMG] Fix matrix-sibling concurrency collision in PR Test (SMG) (#25188)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kangyan-Zhou
2026-05-13 13:25:40 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent 72b49bfac6
commit b1db9f71ee
+6 -2
View File
@@ -270,9 +270,13 @@ jobs:
# Self-hosted GPU runners are scarce; serialize per hardware type so # Self-hosted GPU runners are scarce; serialize per hardware type so
# 2-gpu-h100 and 4-gpu-h100 each run one job at a time across all # 2-gpu-h100 and 4-gpu-h100 each run one job at a time across all
# in-flight PRs. Queue rather than cancel — different refs shouldn't # in-flight PRs. Queue rather than cancel — different refs shouldn't
# interrupt each other. # interrupt each other. Include matrix.name in the group so siblings
# within the same run don't collide: GitHub keeps only one pending job
# per concurrency group, so matrix entries sharing a group (e.g.
# benchmarks + chat-completions-4gpu on 4-gpu-h100) would evict each
# other regardless of cancel-in-progress: false.
concurrency: concurrency:
group: pr-test-rust-${{ matrix.runner }} group: pr-test-rust-${{ matrix.runner }}-${{ matrix.name }}
cancel-in-progress: false cancel-in-progress: false
steps: steps:
- name: Checkout code - name: Checkout code