Skip to content

Use platform-native paths in Windows-target test fixtures - #899

Merged
nedtwigg merged 1 commit into
mainfrom
windows-target-test-paths
Oct 2, 2026
Merged

nedtwigg merged 1 commit into
mainfrom
windows-target-test-paths

Conversation

@nedtwigg

@nedtwigg nedtwigg commented Oct 2, 2026

Copy link
Copy Markdown
Member

Split out of #892: these are test-portability fixes, so they get their own PR. Windows-target shell fixtures and the peer-link tests now build paths with `path.win32` / platform-native pipe names on every CI host. The Unix peer-socket test also prepares its parent directory.

Production behaviour is unchanged apart from `enroll-offer.ts` honouring an injected target platform's path flavour.

Validation (macOS): enroll-offer and mirrored-constants 36/36, pty-core 121/121, peer-link 48 passed and 1 skipped (the Windows-only named-pipe case), vscode-ext tsc clean. The Windows-only paths were not exercised locally.

🤖 Generated with Claude Code

Windows-target shell-integration and enroll-offer paths join with
path.win32 regardless of the CI host, so the fixtures that assert them
match on every runner. The peer-link suite uses a named pipe on Windows
(with its own dead-pipe reclaim test), skips the Unix-inode corpse tests
there, and prepares the Unix socket parent before binding.

Split out of #892.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 61ceb50
Status: ✅  Deploy successful!
Preview URL: https://e1df00ac.mouseterm.pages.dev
Branch Preview URL: https://windows-target-test-paths.mouseterm.pages.dev

View logs

@nedtwigg
nedtwigg merged commit 48095b7 into main Oct 2, 2026
15 of 16 checks passed
@nedtwigg
nedtwigg deleted the windows-target-test-paths branch October 2, 2026 17:19

This branch is waiting to be deployed

1 waiting deployment
hosted-preview — 61ceb50b Waiting Oct 2, 2026 by nedtwigg via deploy #689
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.

2 participants