Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: processes dont get closed on settling a chat #25062

OpenTheDarkSkyXD(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

when you have a long chat going and settle it still keeps the processes live when they should be closed

Image

Expected behavior

for the processes to be closed when the chat is settled

Actual behavior

the processes stay active.

Impact

Major degradation or frequent failure

Version or commit

0.1.2

Environment

windows

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. TheDarkSkyXD(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. Adding support for this from a resource-constrained Windows workflow. When I settle a finished thread, I want T3 Code to release that thread's unused compute resources without having to restart the app or PC.

    For this existing process-lifecycle bug, the most useful fix would be deterministic, thread-scoped cleanup: track which process trees/background commands belong to the thread, terminate only those that are safe to stop, wait for exit with bounded timeouts, and report what was released. Windows process/job ownership is preferable to guessing based on executable names or ports. Shared provider processes, processes owned by other threads, and still-awaited work must be preserved. Any temporary-file cleanup should be restricted to T3-owned paths and must not remove project changes.

    As a separate optional enhancement, a configurable low-cost agent/skill could perform contextual pre-settle cleanup, but OS-level resource release should not depend on an LLM. That feature fits the existing pre-/post-settle hooks discussion #22320.

    Related: #27018 (provider processes block Windows worktree deletion) and #15579 (retained preview renderers). This is support for the reported behavior, not an independently measured additional reproduction.

Sign in to join this conversation.