Repository navigation
Check out text files as LF on every platform (fixes Windows golden compare) - #45
Merged
Merged
Conversation
The first real Windows CI run bootstrapped and built yard fine, but all 15 examples 'differed' from their goldens: actions/checkout converts text to CRLF on Windows and run.ps1 compares bytes. eol=lf also keeps the .trk bytes trackc reads identical on every host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first real Windows CI run (main, 233d410) bootstrapped trackc.exe with bootstrap.ps1 and built and tested yard.exe. Then all 15 examples reported "output differs" against their goldens. The cause is checkout: actions/checkout turns text into CRLF on Windows, and
tests/windows/run.ps1compares bytes.This adds
* text=auto eol=lfto.gitattributes. It also means trackc reads the same.trkbytes on every host.page/node_modulesandpage/distare exempt so vendored files keep their bytes. No tracked file changes: the repo is already LF.The same run passed both macOS jobs on real hardware, macos-15-intel and Apple-silicon macos-26.
🤖 Generated with Claude Code