Repository navigation
Windows:修好一直失败的 4 个测试(其中两处是真 bug) - #433
Merged
Merged
Conversation
- isCheckout 用 realpathSync.native:Windows 短路径(RUNNER~1)和 git 给的长路径 比不上,git 工作目录被当成普通目录,任务不会拿到自己的 worktree(#163、#349) - 工作目录建在文件下面时,Windows 的 mkdir 报 ENOENT 而不是 ENOTDIR,被误报为 “上级目录不存在”;先看最近的已有上级是不是文件(#225) - 测试里的 32 GiB 稀疏文件在 NTFS 上会真的占盘,Windows 改用 2 GiB(#327) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- flow 测试的路径正则允许 \\ 分隔 - worktrees 测试的仓库关掉 core.autocrlf(Windows git 默认检出时把 LF 改成 CRLF,测试比的是字节) Co-Authored-By: Claude Opus 5.5 <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.
Windows CI 每次固定失败 4 个测试,真问题容易被淹没。
isCheckout比较realpathSync(git 的 toplevel)和realpathSync(workdir)。Node 的 JS 版 realpath 不展开 Windows 短路径(RUNNER~1),git 给的是长路径,于是 git 工作目录被当成普通目录:并行任务不会拿到自己的 worktree。改用realpathSync.native。workdir_not_directory。Linux 上全部测试:532 个,0 失败。Windows 结果看本 PR 的 CI。
🤖 Generated with Claude Code