Commit bfb393b
authored
ci: disable cancellation of duplicate CI runs to fix PR status reporting (#518)
# Fix CI workflow to prevent false failure status on PR stacks
This PR modifies the GitHub Actions workflow configuration to address an issue with Graphite PR stacks. When using `gt restack && gt submit`, GitHub often triggers duplicate workflow runs for the same commit, and with `cancel-in-progress: true`, one run gets cancelled but GitHub shows the status from the higher run number (which may be the cancelled one).
Changes:
- Set `cancel-in-progress: false` in the concurrency settings to allow duplicate runs to complete
- Added detailed comments explaining the rationale and trade-offs of this approach
- Reformatted the `needs` arrays in the deploy jobs for better readability
This change ensures that PRs will correctly display successful status when tests pass, even during bulk stack operations with Graphite.1 parent 49ca86f commit bfb393b
1 file changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | | - | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
| |||
274 | 283 | | |
275 | 284 | | |
276 | 285 | | |
277 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
278 | 295 | | |
279 | 296 | | |
280 | 297 | | |
| |||
316 | 333 | | |
317 | 334 | | |
318 | 335 | | |
319 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
320 | 345 | | |
321 | 346 | | |
322 | 347 | | |
| |||
0 commit comments