You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vscode: preflight version probe timeout leaves a .cmd probe's child running on Windows #1924
runCodevVersion (apps/vscode/src/preflight/preflight-core.ts) kills a probe that outlives its budget with child.kill(). On Windows, a codev resolved to a .cmd that is not an npm shim runs as cmd.exe /c …. Killing the child ends cmd.exe, but whatever it started keeps running.
Seen while fixing #1922: with a slow.cmd fixture running ping -n 31 127.0.0.1, the timeout path reported timedOut: true, but PING.EXE kept running for its full 30s after the test finished. An npm-shimmed codev.cmd resolves to node <entry> directly and is not affected; a wrapper .cmd is.
Fix shape
Kill the probe's process tree on Windows (as killSessionTree / the Job Object helpers do in packages/codev), and drop the test's 5s-bounded workaround (preflight-version-timeout.test.ts, ping -n 6).
Activity