Skip to content

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

Open

Description

@TheDarkSkyXD

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

Activity

  1. added
    bug
    needs-triage
    on Oct 25, 2026
  2. changed the title [-][Bug]: process dont get closed on settling a chat[/-] [+][Bug]: processes dont get closed on settling a chat[/+] on Oct 25, 2026
  3. Majkey25 commented on Nov 20, 2026

    @Majkey25

    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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions