Skip to content

test: use Vite+ preview for CLI subprocesses - #315

Closed
fengmk2 wants to merge 1 commit into
mainfrom
spawnSync-node-bug
Closed

fengmk2 wants to merge 1 commit into
mainfrom
spawnSync-node-bug

Conversation

@fengmk2

@fengmk2 fengmk2 commented Sep 11, 2026

Copy link
Copy Markdown
Member

Pin vite-plus and the vite alias to preview build 0.0.0-commit.0e24d6c2139ea8733ee4a1dd70e4a2a1ba8b4a4a from vite-plus#2665. CI uses the same CLI build, and the registry bridge supplies the preview packages.

Restore spawnSync('node', ...) in the three CLI integration suites to test Node resolution through PATH. Keep the temporary home directories for test isolation.

The package build, package typechecks, and all 16 CLI integration tests pass. The React browser suite fails two useId hydration tests, in dev and preview modes.

@fengmk2 fengmk2 closed this Sep 11, 2026
@cpojer
cpojer deleted the spawnSync-node-bug branch October 3, 2026 01:50
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