fix(ci): store root README.md as a regular file, not a symlink#17
Merged
Conversation
The root README.md was tracked with mode 120000 (symlink) in earlier commits. On core.symlinks=false (Windows) it materialised as a text file, so it went unnoticed. While its content was short the Linux CI checkout created a (bogus) symlink under the 255-char limit and passed; once the full package README was mirrored in, the symlink target exceeded the limit and every workflow failed at checkout with "unable to create symlink README.md: File name too long". Convert the index entry to a regular file (100644). Content is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
All three workflows (C++ tests, Android build, TS & codegen) failed at checkout with:
Root cause
The root
README.mdhas been tracked with mode120000(symlink) since earlier commits. On Windows (core.symlinks=false) it materialises as a regular text file, so it was invisible locally. While the symlink "target" (the file content) was short, the Linux CI checkout created a bogus-but-valid symlink under the 255-char limit and passed. Mirroring the full package README into it pushed the target past the limit, breaking checkout on every workflow.Fix
Convert the index entry to a regular file (
100644). Content is byte-identical — only the file mode changes.🤖 Generated with Claude Code