Skip to content

Compare the command references independent of checkout line endings - #183

Merged
renezander030 merged 1 commit into
masterfrom
fix/windows-crlf-command-reference
Nov 22, 2026
Merged

renezander030 merged 1 commit into
masterfrom
fix/windows-crlf-command-reference

Conversation

@renezander030

Copy link
Copy Markdown
Owner

Test-only CI repair, not a miner run, so it carries no nine-step records.

The command-reference drift test that arrived in 0.36.0 compares docs/command-reference.json and .md with what describe generates. A Windows checkout with core.autocrlf turns those files into CRLF while the generator writes LF, so platform smoke (windows-latest) failed on 0.36.0 (1 of 1446 tests). The test now compares after turning CRLF into LF. Test-only change; no version rise and no release.

Evidence

  • Before and after on a CRLF copy on Linux (both references turned into CRLF, then restored): the previous test fails (pass 0, fail 1), this one passes (pass 1); the LF tree passes; lint passes; the pre-commit hook ran the full suite and passed.
  • Windows itself is proven only on that CRLF copy on Linux: the real platform smoke (windows-latest) job, and the other GitHub-only OS jobs (macOS, Linux arm64, Python on Windows/macOS), run after the merge, not before it.
  • The published 0.36.0 package is unaffected: it ships no test files, and its references and dist have no CRLF.

Door

Two-way: revert the one test file.

Blast radius

One test file. No code, package contents, version or release change.

The drift test read docs/command-reference.json and .md as checked out;
a Windows checkout with core.autocrlf turns them into CRLF while the
generator writes LF, so platform smoke (windows-latest) failed on 0.36.0.
The test now compares after turning CRLF into LF.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@renezander030
renezander030 merged commit 5aeb100 into master Nov 22, 2026
17 checks passed
@renezander030
renezander030 deleted the fix/windows-crlf-command-reference branch November 22, 2026 15:56
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