Tests closed successfully but something prevents Vite server from exiting
メンテナーはふだん 1 日以内に返信
@liangmiQwQ がすでに取り組んでいます。
2026年10月27日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 56/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, typescript, vite
調査の方向性
Start with the Vite+ vp test related command and its Vitest shutdown or cleanup path; the issue does not name a source file or failing test. Reproduce with bun install and the reported vp test related --run src/App.tsx src/components/Counter.test.tsx command, then use Vitest’s hanging-process reporter to locate what keeps the server alive. Done when the command exits successfully after the tests finish.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
vp test related --run src/App.tsx src/components/Counter.test.tsx
note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead.
RUN v5.0.5 /home/ian/templates/react-template
stdout | unknown test
shift + ⌥option + left click to use active feature
stdout | unknown test
shift + ⌥option + right click to open node tree
stdout | unknown test
shift + ⌥option + mouse wheel to select parent node or child node
stdout | unknown test
shift + ⌥option + Z to change active feature
stdout | unknown test
shift + ⌥option + 1 to use Locate Code
stdout | unknown test
shift + ⌥option + 2 to use Copy Path
stdout | unknown test
shift + ⌥option + 3 to use Open Target
stdout | unknown test
shift + ⌥option + 4 to use AI Assistant
✓ chromium src/components/Counter.test.tsx (3 tests) 87ms
✓ Counter (3)
✓ renders default initial count 15ms
✓ renders count from init prop 3ms
✓ increments count after button click 68ms
Test Files 1 passed (1)
Affected 1 of 4 test files (related to 2 files)
Tests 3 passed (3)
Start at 22:44:15
Duration 1.39s (import 44%, tests 28%, worker 27%)
close timed out after 10000ms
Tests closed successfully but something prevents Vite server from exiting
You can try to identify the cause by enabling "hanging-process" reporter. See https://vitest.dev/guide/reporters.html#hanging-process-reporter
this would also stuck git hooks.
Reproduction
https://github.com/ianzone/react-template
Steps to reproduce
Run bun install followed by vp test related --run src/App.tsx src/components/Counter.test.tsx
System Info
vp env current
✔ Would you like Vite+ to manage your Node.js and package-manager versions? · no
Setup:
Preparing vite-plus environment.
Created Shims:
/home/ian/.local/share/vite-plus/fallback-bin/node
/home/ian/.local/share/vite-plus/fallback-bin/npm
/home/ian/.local/share/vite-plus/fallback-bin/npx
/home/ian/.local/share/vite-plus/fallback-bin/pnpm
/home/ian/.local/share/vite-plus/fallback-bin/pnpx
/home/ian/.local/share/vite-plus/fallback-bin/pn
/home/ian/.local/share/vite-plus/fallback-bin/pnx
/home/ian/.local/share/vite-plus/fallback-bin/yarn
/home/ian/.local/share/vite-plus/fallback-bin/yarnpkg
/home/ian/.local/share/vite-plus/fallback-bin/bun
/home/ian/.local/share/vite-plus/fallback-bin/bunx
/home/ian/.local/share/vite-plus/bin/vpx
/home/ian/.local/share/vite-plus/bin/vpr
Next Steps:
For Zsh, run:
. "/home/ian/.config/vite-plus/env"
If your .zshrc does not already load Vite+, add this command.
Restart an already-running IDE to load its environment. Run `vp env doctor` to verify.
✓ Vite+ setup complete.
VITE+ - The Unified Toolchain for the Web
Node.js:
Version 24.21.0
Source system PATH
Bin Path /run/user/1000/fnm_multishells/33240_1793020172470/bin/node
Installed true
Mode system_first
Package Manager:
Name bun
Version 1.4.4
Source system PATH
Bin Paths
bun /home/ian/.bun/bin/bun
bunx /home/ian/.bun/bin/bunx
Installed true
Mode system_first
vp --version
VITE+ - The Unified Toolchain for the Web
vp v1.4.0
Local vite-plus:
vite-plus v1.4.0
Tools:
vite v8.3.5
rolldown v1.2.15
vitest v5.0.5
oxfmt v0.74.0
oxlint v1.89.0
oxlint-tsgolint v7.0.2004
tsdown v0.23.1
Environment:
Package manager bun default
Node.js v24.22.1
Used Package Manager
bun
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
- 主要言語
- Rust
- スター
- 6.5k
- フォーク
- 296
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 227
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
voidzero-dev/vite-plus#3235 ·
メンテナーはふだん 1 日以内に返信
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and later対応中かも @kshanxs が 4 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
voidzero-dev/vite-plus#3219 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/vite-plus#2882 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
- P2: has workaround triage: unable to fix
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#3264 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
voidzero-dev/vite-plus#3254 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swc-project/swc-next#1165 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Alive24/shea-symphony#574 ·
-
bug tests Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dev-five-git/devup-ui#879 ·
メンテナーはふだん 11 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
farion1231/cc-switch#9038 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信