Repository navigation
fix(scripts): launch check:changed on Windows without a vp shim - #24164
Conversation
|
Note Written by @Zacharon, thanks for resolving the installed i merged current main ( verification at
unverified: native windows |
|
Native Windows acceptance at Host: Windows 10 Pro 10.0.19045 x64 (not WSL or a container). Node 26.12.1, pnpm 12.14.0, installed Vite+ 1.4.0. Fresh clone with
Also native:
Not covered: Windows 11, ARM64, a globally installed Vite+ as the outer
|
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Platform-specific command selection scripts/check-changed-command.ts, scripts/check-changed-command.test.ts |
vitePlusCommand returns the Node executable and resolved Vite+ entry on Windows, and vp on other platforms. Tests cover argument forwarding and execution results. |
Changed-source check integration scripts/check-changed.ts, scripts/check-changed.test.ts |
The script uses vitePlusCommand to launch commands. Tests cover successful checks and install or lint failures. |
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix
Suggested reviewers: juliusmarminge, t3dotgg, maria-rcks
Merge Risk: 
Minimal · up to 01930
-
Windows checks now launch the installed CLI through Node; other platforms retain vp. No merge-blocking issue was identified.
Pre-merge checks: 
4
-
Full details: Description check
-
Explanation
The description explains the Windows spawn failure, the launcher change, preserved behavior, verification results, and known verification limits. It does not use the template headings and does not explicitly document maintainer approval, but it provides enough substantive information for this focused fix.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
|
Note Written by Verified in a real dev environmentno changed runtime behavior was verified on this vm. i inspected the description, full diff, commits and discussion at host transcript: the production change selects Node plus the installed Not verifiednative windows reproduction on main and acceptance on the pr head, including source checks, manifest-triggered temporary-cwd installation, literal arguments and failure propagation. this linux vm cannot establish windows process-launch behavior. the author's native windows acceptance comment is existing evidence, not independently reproduced evidence from this pass. no main worktree, dependency install, dev server, project, thread or provider turn was created, because none would reach the changed windows behavior on this host. no screenshots or recordings were captured. no code or branch changes were made. status for this pass: unverifiable; native windows is required. |
|
Note Written by merged current main ( blacksmith ci and github's current conflict observation are pending. native windows execution was not reproduced on this linux host; the author's acceptance covers the previous head. no ui changes apply. |
|
Native Windows check at Host: Windows 10 Pro 10.0.19045 x64. Node 26.12.1, Vite+ 1.4.0. The working tree had a source change in
|
Windows contributors hit
spawn vp ENOENTwhencheck:changedtries to launch the installedvp.cmdwithout a shell (https://git.cafe/pingdotgg/t3code/pulls/24005, https://git.cafe/pingdotgg/t3code/pulls/24006, https://git.cafe/pingdotgg/t3code/pulls/24007). On Windows, the shared command path now runs the installedvite-plus/binJavaScript entry withprocess.execPath, resolved relative to the script rather than the temporary install directory. Arguments stay literal arrays; Linux and macOS keep barevp.The fix preserves main's Effect process scopes, concurrency budget, timeouts, output collection, and failure handling. Both normal checks and the temporary dependency-patch install use the launcher. No application behavior or dependencies change.
Verification at
fc1052ddcd634b7e3b5434acd203eefc77d0e847:vp run check:changedpassed formatting, lint, both knip passes, scripts typecheck, and all 13 selected tests. The worker's shallow snapshot needed a main comparison ref and a metadata-only parent graft; source contents were unchanged.a608c26c21head, including real installed Vite+, source and manifest changes, failing checks, and literal paths.Unverified in this Linux pass: native Windows execution of the merged Effect implementation and full CI suites. The selected Windows branch in Linux fixtures proves launcher coverage, not native Windows process behavior. No UI changes or browser evidence apply.
Model:
gpt-6.1-sol. Harness: Codex in T3 Code.