block-ci: list both sides of a move when planning unit packages

Without --no-renames a file moved out of core/storage/ shows only its new
path, so the planner skipped the package it left. The sibling scope scripts
already pass the flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-12-05 04:07:24 -08:00
1 parent d216bfda15
commit b52fd36f0a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -209,7 +209,7 @@ jobs:
# have no parent. Ordinary PRs use the merge commit's base parent.
: >"$plan/changed.txt"
if [ "$EVENT" != push ] && [[ "$HEAD_REF" != train/* ]]; then
git diff --relative --name-only HEAD^1 HEAD -- . >"$plan/changed.txt"
git diff --relative --name-only --no-renames HEAD^1 HEAD -- . >"$plan/changed.txt"
fi
python3 -I ../.github/block/scripts/unit-test-shards.py "$mod" "$plan" "$EVENT" "$HEAD_REF" "$plan/changed.txt" <"$plan/all.txt"
python3 -I ../.github/block/scripts/run-unit-groups.py "$plan" "$CI_EVIDENCE_DIR" "$RUNNER_TEMP/unit-group-tmp" \