Repository navigation
fix(scripts): make setup-vite CLI invocation work on Windows - #10885
Merged
Merged
Conversation
✅ Deploy Preview for rolldown-rs canceled.
|
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://ci-fix-setup-vite-rolldown-rs.voidzero-docs.workers.dev (commit 4191c66)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
h-a-n-a
approved these changes
Sep 15, 2026
shulaoda
enabled auto-merge (squash)
September 15, 2026 08:20
shulaoda
disabled auto-merge
September 15, 2026 08:26
Brooooooklyn
added a commit
that referenced
this pull request
Sep 15, 2026
Conflicts resolved: * pnpm-workspace.yaml — kept main's oxc 0.150.0 catalog bumps together with every branch pin (emnapi 2.0.0-alpha.5 override + catalog, @emnapi/core and @emnapi/runtime, @napi-rs/cli, @napi-rs/wasm-runtime ~1.2.3, buffer, miniflare, wrangler) and their explanatory comments. * scripts/src/setup-vite/main.ts — main's #10885 form of the Windows fix (spawn the workspace `bin/cli.mjs` with `process.execPath`), spawned through this branch's `runNode` helper in `checkout.ts` instead of a second inline `execFileSync`, and with the step-5 `viteRequire` binding kept where main has it. Both sides fix the same cmd.exe problem the same way. * packages/rolldown/src/rolldown-binding.wasi.cjs — generated; regenerated from a real wasm32-wasip1-threads build rather than hand-merged. Generated artifacts regenerated after the merge, so every flavor carries main's new `__internalForcePanic` export: `just build-rolldown` (binding.cjs, binding.d.cts), `build-binding:wasi` (rolldown-binding.wasi.{cjs,d.cts}, wasi-browser.js) and `build-binding:wasi-single` (rolldown-binding.wasip1.{cjs,d.cts}, wasip1-browser.js). A native build re-emits the WASI loaders from the export list embedded in `rolldown-binding.wasi.cjs`, so the WASI builds had to run first. `src/binding-workerd-proxy.ts` is hand-written and mirrors that same export list (`tests/workerd-build.test.ts` enforces it), so it forwards `__internalForcePanic` too. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda
Merged
shulaoda
added a commit
that referenced
this pull request
Sep 16, 2026
## [1.2.9] - 2026-09-16 ### 🚀 Features - add `MODULE_LEVEL_DIRECTIVE` warning (#10791) by @sapphi-red ### 🐛 Bug Fixes - handle CommonJS exports through top-level `this` (#10872) by @IWANABETHATGUY - scripts: make setup-vite CLI invocation work on Windows (#10885) by @shulaoda - remove deleted property from output bundle proxy target (#10815) by @Vladexy88x - treat module-scope `await using` as top-level await (#10739) by @MarshallOfSound - watch: preserve plugin attribution in warnings (#10473) by @Nic-Polumeyv - test-dev-server: link the workspace rolldown before building vite (#10857) by @h-a-n-a - minify: preserve annotation comments when minified (#10854) (#10855) by @justonemorenight ### ⚡ Performance - dev/lazy: fetch a lazy route in one request (#10789) by @h-a-n-a - plugin: reduce binding binary size (#10776) by @Boshen - vite-reporter: reuse emitted sourcemap sizes (#10841) by @hyfdev ### 🧪 Testing - dev: full-bundle-mode regression test for cyclic import binding (#9946) (#9947) by @ShMcK - cover asset option callback timings (#10870) by @IWANABETHATGUY ### ⚙️ Miscellaneous Tasks - wait for npm bindings before publishing rolldown (#10866) by @shulaoda - deps: update dependency @napi-rs/cli to v3.10.1 (#10889) by @renovate[bot] - deps: update napi (#10888) by @renovate[bot] - compress debug info archives with zstd (#10778) by @IWANABETHATGUY - publish split debug info for release bindings (#10777) by @IWANABETHATGUY - rolldown_utils: simplify MIME guessing and remove UTF-8 check bypass (#10884) by @shulaoda - add npm bugs metadata for rolldown (#9694) by @kingshuaishuai - deps: upgrade oxc to 0.150.0 (#10877) by @camc314 - deps: update rust crates (#10869) by @renovate[bot] - deps: update dependency vite-plus to v0.3.2 (#10878) by @renovate[bot] - deps: update rollup submodule for tests to v4.63.3 (#10880) by @rolldown-guard[bot] - deps: update test262 submodule for tests (#10881) by @rolldown-guard[bot] - deps: update github actions (#10867) by @renovate[bot] - deps: update npm packages (#10868) by @renovate[bot] - deps: update napi to v3.12.4 (#10862) by @renovate[bot] - deps: update napi (#10861) by @renovate[bot] ### ❤️ New Contributors * @Vladexy88x made their first contribution in [#10815](#10815) * @MarshallOfSound made their first contribution in [#10739](#10739) * @kingshuaishuai made their first contribution in [#9694](#9694) * @ShMcK made their first contribution in [#9947](#9947) * @justonemorenight made their first contribution in [#10855](#10855) Co-authored-by: shulaoda <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix https://github.com/rolldown/rolldown/actions/runs/34820362649/job/103901254361
Invoke the workspace Rolldown CLI through
execFileSync(process.execPath, ...)without a shell. Preserve linking before the build so Vite inlines the matchingDevRuntime, and update the setup documentation.