Commit cbc80ae
Cancel stale PR builds on new pushes
OldBuildCanceller was already instantiated but with an empty filter
list, making it a no-op. Populate it to track all builders on any
refs/pull/* branch so that a new push to a PR cancels older pending
or running builds for that same PR, instead of letting them run to
completion alongside the new build.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent d547284 commit cbc80ae
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
1290 | 1291 | | |
1291 | 1292 | | |
1292 | 1293 | | |
1293 | | - | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1294 | 1298 | | |
1295 | 1299 | | |
1296 | 1300 | | |
| |||
0 commit comments