Skip to content

fix(test): accept Windows node.exe MCP launcher in ZCode host tests - #50

Open
Roarpeng wants to merge 1 commit into
mainfrom
cursor/fix-m87-zcode-windows-npx-aad7
Open

Roarpeng wants to merge 1 commit into
mainfrom
cursor/fix-m87-zcode-windows-npx-aad7

Conversation

@Roarpeng

Copy link
Copy Markdown
Owner

Why

main @ 7f74600 (v1.18.6) failed validate-platforms (windows-latest):

tests/m87-zcode-host.test.ts
  expected 'C:\hostedtoolcache\windows\node\22.23.2\x64\node.exe' to be 'npx'

Windows MCP install uses resolveWindowsNpxLaunch: node.exe + npx-cli.js + -y --package=@roarpeng/graphflow graphflow-mcp (same as Cursor/Claude/Codex). The new ZCode test hardcoded Unix npx.

Changes

Assert command is present and that the last three args are still -y --package=@roarpeng/graphflow graphflow-mcp. No installer behavior change.

Validation

npx vitest run tests/m87-zcode-host.test.ts — 3 passed (Linux). Windows coverage is the CI job this unblocks.

Open in Web Open in Cursor 

v1.18.6 m87 asserted command === "npx". On Windows, resolveWindowsNpxLaunch
writes node.exe plus npx-cli.js, same as Cursor/Claude/Codex. Assert the
package args instead so validate-platforms can pass.
@Roarpeng
Roarpeng marked this pull request as ready for review September 14, 2026 12:15
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