Repository navigation
Commit cda4677
ci: treat an empty changed-files.txt on a PR as a full-list fallback (#10708)
Only the exit status of the affected-set `git diff` was checked, never its
emptiness. A merge-base resolving to something wrong-but-valid produced an
empty changed-file list -> zero affected packages -> a green Test Core shard
that tested nothing, with every log line reading like a normal quiet PR.
Empty is decidable as broken at this point and only at this point: a
pull_request always differs from its merge-base. At the partitioner zero is
frequently correct, so the test cannot live there.
Scoped to pull_request by construction -- SCM_BASE is assigned only inside the
pull_request guard, so push and merge_group never reach this branch and keep
taking the full-list path by design.
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt
Co-authored-by: Claude <noreply@anthropic.com>1 parent b419135 commit cda4677
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
466 | 492 | | |
467 | 493 | | |
468 | 494 | | |
| |||
0 commit comments