Skip to content

Windows:修好一直失败的 4 个测试(其中两处是真 bug) - #433

Merged
lbx154 merged 2 commits into
feat/ts-corefrom
fix/eng-debt
Nov 3, 2026
Merged

lbx154 merged 2 commits into
feat/ts-corefrom
fix/eng-debt

Conversation

@lbx154

@lbx154 lbx154 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Windows CI 每次固定失败 4 个测试,真问题容易被淹没。

Linux 上全部测试:532 个,0 失败。Windows 结果看本 PR 的 CI。

🤖 Generated with Claude Code

lbx154 and others added 2 commits November 3, 2026 08:53
- 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>
@lbx154
lbx154 merged commit c74f70b into feat/ts-core Nov 3, 2026
8 of 10 checks passed
@lbx154
lbx154 deleted the fix/eng-debt branch November 3, 2026 18:40
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