Before submitting#
Area#
apps/server
Steps to reproduce#
This is a follow-up to #8575 after #8634. The remaining issue is that T3 Code does not always clean up the complete Claude probe process tree.
Normal reproduction:
- Enable the Claude provider with
claude as its binary path.
- Leave the provider configuration unchanged and keep T3 Code running.
- Wait for several scheduled provider refresh cycles, approximately five minutes apart.
- After each refresh finishes and the Claude process exits, check Task Manager for a remaining
git.exe process.
Faster reproduction:
- Open the Claude provider settings and set the binary path to
claude.
- Once the provider status check starts, clear the binary path before the check finishes.
- Set it back to
claude and repeat the change several times, allowing a new status check to start each time.
- After the checks stop and the Claude processes exit, inspect Task Manager for remaining child processes.
Depending on the timing, the faster reproduction may leave git.exe, tasklist.exe, findstr.exe, or conhost.exe processes behind. The issue is intermittent and may require several attempts.
Expected behavior#
When a Claude provider probe completes, times out, or is cancelled, T3 Code should terminate the entire process tree created for that probe, including the Claude process and all of its descendants.
Actual behavior#
During a normal scheduled provider refresh, a git.exe process started by Claude can remain after the Claude process exits. The observed process had one thread and remained in the Wait:Suspended state indefinitely.
Rapidly switching the Claude binary path between claude and an empty value can reproduce the cleanup failure more quickly. Depending on the timing, git.exe, tasklist.exe, findstr.exe, or conhost.exe processes may remain after the Claude process exits.
Impact#
Major degradation or frequent failure
Version or commit#
0.0.38-nightly.20260901.1242
Environment#
Windows 11 x64, Claude Code 2.1.252, Git for Windows 2.55.0.windows.3
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
No response
Windows 11, T3 Nightly
0.0.37-nightly.20260829.1219, Claude Code 2.1.255 on PATH.Sampled during a live T3 session.
git.exewas 2, then 0 a minute later. The claude.exe crowd on this box is mostly the Store Claude app, not T3 provider probes.I didn't wait through several 5-minute refresh cycles, so this is not a cannot-repro. Just: no leftover suspended git.exe in this snapshot.