mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
256910f1a1
The static_quality format job's auto-commit step refuses tracked-but- gitignored paths (`git add` exit 1, propagated as xargs exit 123), which killed the entire step on PR #4879 and let 12 unformatted source files land on main. Filter `.pr-format-files.existing.txt` against `git ls-files -i -c --exclude-standard` (the authoritative list of tracked-but-ignored paths) so: - oxfmt no longer rewrites those scratch files - the auto-commit's `git add` never sees them, can't choke on them Verified locally: $ echo '<recorded fixture>' > list.txt $ cat list.txt | xargs git add -- # current behavior: exit 1 $ git ls-files -i -c --exclude-standard > ignored.txt $ grep -vxFf ignored.txt list.txt > scoped.txt # filter drops it $ cat scoped.txt | xargs git add -- # no-op, exit 0
13 KiB
13 KiB