Repository navigation
Commit 368c107
Report skips that could not be recorded as failures
record_skip appends to the file the job summary is built from, but every
caller runs under "if ! process_pr", which disables set -e for the
function and everything it calls. The "return 0" that followed each call
overwrote the append's exit status, so a failed write left the run green
while silently dropping the branch from the summary.
Two of the four call sites are added by this branch, and the summary is
the only record of which branches were left in place, so a skip that
cannot be recorded is now surfaced as a failure instead of being lost.
Nothing has been deleted at any of these points, so failing there cannot
leave a branch half-processed.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: daca0885-6779-4adb-bb02-ff6920d73ab31 parent e5ef3db commit 368c107
1 file changed
Lines changed: 12 additions & 5 deletions
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
322 | 326 | | |
323 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
| |||
349 | 356 | | |
350 | 357 | | |
351 | 358 | | |
352 | | - | |
| 359 | + | |
353 | 360 | | |
354 | 361 | | |
355 | 362 | | |
| |||
362 | 369 | | |
363 | 370 | | |
364 | 371 | | |
365 | | - | |
| 372 | + | |
366 | 373 | | |
367 | 374 | | |
368 | 375 | | |
| |||
462 | 469 | | |
463 | 470 | | |
464 | 471 | | |
465 | | - | |
| 472 | + | |
466 | 473 | | |
467 | 474 | | |
468 | 475 | | |
| |||
477 | 484 | | |
478 | 485 | | |
479 | 486 | | |
480 | | - | |
| 487 | + | |
481 | 488 | | |
482 | 489 | | |
483 | 490 | | |
| |||
0 commit comments