Repository navigation
docs: note symlink EPERM in Windows source test failures - #7211
Conversation
[Low impact] This documentation-only change appears safe to merge. SummaryAdds a Windows troubleshooting note to
Reviews (2) · Last reviewed commit: "docs: note symlink EPERM in Windows sour..." · Reviewed by Greptile |
|
@KJLavender thanks for the PR — this branch has merge conflicts with |
cf97351 to
c6b8eca
Compare
|
Rebased onto current |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Thanks for documenting this! Merged after canonical review and documentation CI passed. The prerequisite also matches Node 24’s Windows implementation and Microsoft’s API documentation; no fresh Windows run was claimed. |
…410-windows-transport * commit '28772e67d245661b4a66ef5a09353eafda483367': (674 commits) docs: note symlink EPERM in Windows source test failures (morluto#7211) fix(javascript): scope candidate this event receivers (morluto#4656) fix(config): validate target and loader options before printing MCP registrations (morluto#9279) fix(native): honor cancellation during PE alias expansion (morluto#9063) fix(audit): preserve env shebang argument ownership (morluto#14075) feat(evtx): inventory Windows event log records offline docs(skill): replace the staged workflow with the rules it encodes (morluto#10374) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) ...
Summary
CONTRIBUTING already warns that some source tests fail on a Windows checkout and lists the usual reasons (POSIX paths,
#!/bin/shstubs, rename semantics). Symlink creation is missing from that list, and on my machine it was the single most common cause. This adds one sentence for it.Problem and expected behavior
On Windows,
fs.symlinkneeds Developer Mode or an elevated shell. Without either, every test that builds a symlink fixture fails withEPERM: operation not permitted, symlink .... GitHub's Windows runners are elevated, so CI never sees it, and a contributor who hits it has nothing in the docs pointing at the cause.Change and scope
Docs only: one sentence in the "Windows source checkouts" section of CONTRIBUTING.md. I didn't touch the tests. The failures are spread over 39 files and most Windows failures have other causes anyway, so a skip helper wouldn't make the suite green on Windows.
Contract and boundary impact
Semantic owner and earliest changed stage: not applicable (docs)
Contribution scope fit and linked maintainer decision: not applicable
CLI and MCP/tool-catalog contract: none
Provider, bridge, target-format, or platform compatibility: none
Evidence, artifact, provenance, or reconstruction contract: none
Target selection, authority, upstream behavior, and cleanup details (if applicable): not applicable
Generated metadata, package, or installation impact: none
Documentation or usability only; no target interaction.
Evidence and regression coverage
vitestrun on origin/main (1173c0a), Windows 11, Node 24.22.1, non-elevated shell, Developer Mode off. 12,063 tests: 733 failed, and 96 of those (in 39 files) fail withEPERM ... symlink. I went through six of those files by hand, and in each one the symlink calls were the only thing failing.Validation performed
npm run docs:check: passedCompatibility, safety, and release
Author readiness
Human owner: @KJLavender