Skip to content

chore(deps): bump vite-task to pick up the Windows ps1 stdin gate#1973

Merged
fengmk2 merged 4 commits into
mainfrom
fix/windows-ps1-stdin-tty-gate
Jun 28, 2026
Merged

chore(deps): bump vite-task to pick up the Windows ps1 stdin gate#1973
fengmk2 merged 4 commits into
mainfrom
fix/windows-ps1-stdin-tty-gate

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jun 28, 2026

Copy link
Copy Markdown
Member

Problem

vite-task's plan-time .cmd -> .ps1 rewrite was ungated and hung Windows CI builds via vp run <script> (e.g. vp run tauri build): the .ps1 wrappers block draining a non-TTY stdin pipe, so the process never exits after the build finishes and the runner waits on the open pipe until the job is cancelled hours later.

Fix

Bump vite-task to fix/ps1-stdin-tty-gate, which gates that rewrite on is_stdin_terminal() (matching vite_command's ps1_shim). Rev 8daa9bb7 -> 0c5c6236.

Depends on voidzero-dev/vite-task#491
Closes #1971

@netlify

netlify Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 9ce4faa
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a40f2848c5f220008fdfcea

@netlify

netlify Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 980b261
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a4137bbfb29fe0009cdcf9b

@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests test: sfw labels Jun 28, 2026
@fengmk2 fengmk2 self-assigned this Jun 28, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

vite-plus

npm i https://pkg.pr.new/voidzero-dev/vite-plus@1973

@voidzero-dev/vite-plus-core

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@1973

@voidzero-dev/vite-plus-prompts

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-prompts@1973

@voidzero-dev/vite-plus-cli-darwin-arm64

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-darwin-arm64@1973

@voidzero-dev/vite-plus-cli-darwin-x64

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-darwin-x64@1973

@voidzero-dev/vite-plus-cli-linux-arm64-gnu

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-linux-arm64-gnu@1973

@voidzero-dev/vite-plus-cli-linux-arm64-musl

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-linux-arm64-musl@1973

@voidzero-dev/vite-plus-cli-linux-x64-gnu

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-linux-x64-gnu@1973

@voidzero-dev/vite-plus-cli-linux-x64-musl

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-linux-x64-musl@1973

@voidzero-dev/vite-plus-cli-win32-arm64-msvc

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-win32-arm64-msvc@1973

@voidzero-dev/vite-plus-cli-win32-x64-msvc

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-cli-win32-x64-msvc@1973

@voidzero-dev/vite-plus-darwin-arm64

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-darwin-arm64@1973

@voidzero-dev/vite-plus-darwin-x64

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-darwin-x64@1973

@voidzero-dev/vite-plus-linux-arm64-gnu

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-linux-arm64-gnu@1973

@voidzero-dev/vite-plus-linux-arm64-musl

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-linux-arm64-musl@1973

@voidzero-dev/vite-plus-linux-x64-gnu

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-linux-x64-gnu@1973

@voidzero-dev/vite-plus-linux-x64-musl

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-linux-x64-musl@1973

@voidzero-dev/vite-plus-win32-arm64-msvc

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-win32-arm64-msvc@1973

@voidzero-dev/vite-plus-win32-x64-msvc

npm i https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-win32-x64-msvc@1973

commit: 9bc520a

fengmk2 added a commit to fengmk2/digital-signature that referenced this pull request Jun 28, 2026
Pin vite-plus to the pkg.pr.new build of voidzero-dev/vite-plus#1973 (the
Windows ps1 stdin-hang fix) via the catalog + overrides, and revert the
workaround actions to stock (setup-vp@v1, tauri-apps/tauri-action@v0). If the
Windows build now completes, the vp-side fix resolves the hang on its own,
without the forked tauri-action stdin-close workaround.
@fengmk2

fengmk2 commented Jun 28, 2026

Copy link
Copy Markdown
Member Author

The verification at fengmk2/digital-signature#1 was successful.

fengmk2 added a commit to fengmk2/redis-me that referenced this pull request Jun 28, 2026
Pin vite-plus to the pkg.pr.new build of voidzero-dev/vite-plus#1973 (the
Windows ps1 stdin-hang fix) via catalog + overrides, and revert the workaround
actions to stock (setup-vp@v1, tauri-apps/tauri-action@v0). If the Windows
build completes, the vp-side fix resolves the hang on its own.
@fengmk2 fengmk2 marked this pull request as ready for review June 28, 2026 14:57
@fengmk2

fengmk2 commented Jun 28, 2026

Copy link
Copy Markdown
Member Author

voidzero-dev/vite-task#491 is merged (squash commit `6cfa6e47`), so the rev here is re-pinned from the branch commit to the merged main commit. Marking ready.

Verified end-to-end with stock actions (upstream open-stdin tauri-apps/tauri-action@v0 + setup-vp@v1) on two of the originally-affected apps from tauri-apps/tauri-action#1308, using the pkg.pr.new build of this PR:

  • fengmk2/digital-signature: full matrix green; Windows build proceeds past Finished N bundles instead of hanging.
  • fengmk2/redis-me: full matrix green (win32 x64 + arm64).

Both confirm the plan-time ps1 stdin gate resolves the Windows hang on its own, with no tauri-action/setup-vp workaround.

fengmk2 added 3 commits June 28, 2026 22:57
vite-task's plan-time `.cmd` -> `powershell -File <.ps1>` rewrite was
ungated and hung Windows CI builds (the `.ps1` wrappers block draining a
non-TTY stdin pipe). vite-task@fix/ps1-stdin-tty-gate gates that rewrite on
`is_stdin_terminal()`, matching vite_command's ps1_shim.

Bumps the vite-task rev from 8daa9bb7 to 0c5c6236.

Ref #1489
vite_command::ps1_shim and vite_task_plan::ps1_shim each had their own copy
of the cached stdin-TTY gate. vite-task now hosts it once in the shared
vite_powershell crate, so drop the local copy here and call the shared
function. Bumps the vite-task rev to 0068d09b.
voidzero-dev/vite-task#491 merged to main as 6cfa6e47. Point the rev there
(was the branch commit 0068d09b) so it tracks a permanent commit on main.
@fengmk2 fengmk2 requested a review from wan9chi June 28, 2026 14:57
@fengmk2

fengmk2 commented Jun 28, 2026

Copy link
Copy Markdown
Member Author

@codex review

@fengmk2 fengmk2 force-pushed the fix/windows-ps1-stdin-tty-gate branch from 2f78f93 to d2abc1b Compare June 28, 2026 14:58
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 2f78f93cc4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@fengmk2 fengmk2 merged commit b5949cb into main Jun 28, 2026
95 checks passed
@fengmk2 fengmk2 deleted the fix/windows-ps1-stdin-tty-gate branch June 28, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg.pr.new test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: sfw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spawn vp-managed package managers via node <pm>.cjs directly to remove the Windows .cmd/.ps1 shim hazards

2 participants