Windows: an unsupervised gap run can leave child processes running (no process tree kill)

オープン
#74 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, node.js
領域
cli, devtools

調査の方向性

The gap is in the unsupervised win32 run path, which the issue says has no process group supervisor, so start there and find where child processes are spawned and where stop and exit are handled. Compare that path with the supervised one to see what cleanup it lacks. Done means a stopped or finished run leaves no node.exe child under its PID tree, shown by a Windows acceptance test. The fix needs Windows process-tree knowledge (Job Objects or taskkill /T), so it is not a good first pick.

索引モデルが issue の本文から書いたものです。

説明

Found in the review of #58 (F4e). An unsupervised win32 run, the one without a supervisor (Windows has no process groups), is exempt from "no process outlives the CLI": a Vitest worker or a browser driver a test starts can outlive the CLI there. This predates #58.

Proposed fix: kill the process tree on win32 with Job Objects (a job with kill-on-close, assigned at start) or with taskkill /T /F /PID <pid> on stop and at exit. Acceptance: a hooked or real stop leaves no node.exe child running under the run's PID tree.

主要言語
JavaScript
スター
5
フォーク
1
平均マージ
8時間 31分
マージ済み PR(30日)
60

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TanStack/oracles のほかの issue

TanStack/oracles の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。