Skip to content

fix(ci): store root README.md as a regular file, not a symlink#17

Merged
lopadova merged 1 commit into
mainfrom
fix/readme-symlink-mode
Jun 22, 2026
Merged

fix(ci): store root README.md as a regular file, not a symlink#17
lopadova merged 1 commit into
mainfrom
fix/readme-symlink-mode

Conversation

@lopadova

Copy link
Copy Markdown
Contributor

Problem

All three workflows (C++ tests, Android build, TS & codegen) failed at checkout with:

unable to create symlink README.md: File name too long

Root cause

The root README.md has been tracked with mode 120000 (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

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>
@lopadova lopadova merged commit 5d1ec07 into main Jun 22, 2026
2 of 3 checks passed
@lopadova lopadova deleted the fix/readme-symlink-mode branch June 22, 2026 17:16
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