Repository navigation
Commit 1880b0d
Keep late draft CI runs from cancelling real ones (#1708)
An agent pushes a commit and runs `gh pr ready` seconds later. GitHub
can deliver that push's `synchronize` event (payload still draft: true)
after `ready_for_review`. Both runs shared one concurrency group with
cancel-in-progress, so the late draft run cancelled the real run,
skipped every job on the draft gate, and reported ci-ok green on a head
nothing had tested. Seen on #1706 and #1707 today; both needed a manual
re-run to get a real verdict.
Give draft PR runs their own group so they can never cancel a
ready-state run. Draft pushes still supersede each other, as do ready
pushes. Add a scheduling test that pins the split.
Claude-Session: https://claude.ai/code/session_01EtzNTGaPfJK39cMX68F1qw
Co-authored-by: Claude <noreply@anthropic.com>1 parent 3db3cdf commit 1880b0d
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | | - | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
206 | 213 | | |
207 | 214 | | |
208 | 215 | | |
| |||
0 commit comments