Repository navigation
fix: run implementation delegates through tinyexec on Windows - #139
Conversation
commit: |
|
LGTM |
|
| mean | stddev | min | max | |
|---|---|---|---|---|
| PR | 334.9 ms | 4.5 ms | 327.3 ms | 343.4 ms |
| base | 335.8 ms | 10.1 ms | 326.5 ms | 369.1 ms |
Δ (PR vs base): — -0.9 ms (-0.3%)
Measured with hyperfine on ubuntu-latest (3 warmup runs, 20 timed runs). CI numbers carry ±a few ms of runner jitter; treat small deltas as noise.
|
I ran this PR's prerelease build ( Both delegates start now. A plain Wrangler project builds, dry-run deploys, and serves with Two things about the new Windows CI job. The run on a10f467 failed at checkout with "Filename too long" on a generated SDK path, and the workflow at a022326 still checks out without long paths enabled. Running the full CLI suite locally at a022326 gives 14 failures in 8 files, and all 8 files fail the same way on When the delegate itself fails (a syntax error in the Worker), cf exits with -1073740791 after Node prints |
|
We just removed execa from Wrangler! |
a022326 to
6a09265
Compare
|
The new Windows matrix job cannot exercise this change: CI run 37300734837 fails in Checkout with |
|
🤖 I've done a thorough review of your PR. Adds Execa-based delegate spawning and cross-platform CI coverage.
|
6a09265 to
6c6d55d
Compare
|
Review: 1 findings. 🤖 I've done a thorough review of your PR. Adds Execa-based implementation delegation and cross-platform CLI CI coverage.
|
|
No new concerns since the last review |
|
No new concerns since the last review |
|
🤖 I've done a thorough review of your PR. Replaces Execa delegate launching with tinyexec and adds Windows CI/test coverage.
|
|
LGTM! |
|
LGTM! |
Windows cannot directly execute Wrangler and Vite's Node-shebang delegate entrypoints, causing
cf dev,cf build, and build-backed deploy commands to fail withspawn EFTYPE. Launch delegates with tinyexec 1.3.1, including its fix for extensionless Windows entrypoints..cmddelegates across all output modes. Check delayed graceful cleanup, parent exit, signal listener restoration, and no surviving processes. Retain tinyexec'swindowsHidedefault; inherited stdin and stderr preserve the existing console.Fixes #19.
Validation
pnpm checkfrom the repository root: passed.Cross-platform CI passed on Linux, macOS, and Windows, including the repository checks and Wrangler compatibility suite: https://github.com/cloudflare/cf/actions/runs/37312038459.