mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 10:33:29 +00:00
Queue superseded e2e runs instead of cancelling in-progress ones
Agents push to main every few minutes and a sharded run takes about 30, so cancel-in-progress meant a busy main could never complete a verdict. With cancel-in-progress off, the in-flight run finishes and GitHub collapses queued runs to the newest pending one, so intermediate pushes still skip without killing the run that is about to report.
This commit is contained in:
parent
b05d255576
commit
a9ac8251ba
1 changed files with 4 additions and 3 deletions
7
.github/workflows/test-e2e.yml
vendored
7
.github/workflows/test-e2e.yml
vendored
|
|
@ -22,11 +22,12 @@ on:
|
|||
- '.github/workflows/test-e2e.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
# Keep only the newest commit's verdict in flight per ref; superseded runs
|
||||
# are cancelled rather than burning four shard jobs each.
|
||||
# Let the in-progress run finish (pushes land here every few minutes, and
|
||||
# cancelling would mean a busy main never completes a verdict); queued runs
|
||||
# collapse to the newest pending one, so intermediate pushes skip.
|
||||
concurrency:
|
||||
group: e2e-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue