Skip to content

Check out text files as LF on every platform (fixes Windows golden compare) - #45

Merged
dev-dami merged 1 commit into
mainfrom
agent/xp-eol
Nov 23, 2026
Merged

dev-dami merged 1 commit into
mainfrom
agent/xp-eol

Conversation

@dev-dami

Copy link
Copy Markdown
Owner

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.ps1 compares bytes.

This adds * text=auto eol=lf to .gitattributes. It also means trackc reads the same .trk bytes on every host. page/node_modules and page/dist are 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

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>
@dev-dami
dev-dami merged commit 19d4604 into main Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant