Submodule checkpoints block follow-up messages and new threads on Windows

Offen
#39,714 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@juliusmarminge arbeitet bereits daran.

Seit 20.11.2026.

  • #39784 von @juliusmarminge — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
git, typescript
Bereich
desktop, devtools

Rechercherichtung

Start with the checkpoint lock code in apps/server/src/orchestration-v2/CheckpointService.ts around lines 230–299, then review PR #30829, which introduced recursive checkpoint capture for initialized submodules. Use the proposed Chromium checkout on Windows to reproduce the delay after a turn and when starting a second thread. Done means checkpoint capture no longer blocks follow-up turns or another thread sharing the checkout; an open linked PR #39784 is already working on the issue.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

via-triage
What happened

After Claude or Codex displays its reply, T3 Code can keep the thread busy for another couple of minutes. Follow-up messages wait. A second thread using the same checkout can also stay on “Starting…” until the first thread’s checkpoint finishes.

Diagnosis

PR #30829 made T3 capture checkpoints recursively in initialized Git submodules. The post-turn capture holds a workspace lock that a new turn in the same checkout also needs. That explains why the delay affects both the finished thread and a second thread waiting to start.

PR #30829 · Checkpoint lock code

Evidence

On the same Windows checkout, recorded T3 Code checkpoint times rose from a median of 22.7 seconds on November 16 (3 captures) to 156.9 seconds on November 18 (24 captures). One later server trace showed a 146.6-second checkpoint with 157 submodule captures and 1,487 Git subprocess launches.

Steps to reproduce

Proposed reproduction with public Chromium.

  1. On Windows, use fetch chromium from depot_tools to check out public Chromium and its dependencies. Chromium checkout instructions
  2. Open the resulting src directory as a local project in T3 Code.
  3. Send a short prompt such as “Reply with OK.” Once the reply appears, try sending a follow-up.
  4. While the first thread is still busy, send a prompt in a second thread using the same checkout. Check whether it stays on “Starting…” until the first thread becomes idle.
Version

T3 Code Nightly 0.1.11-nightly.20261120.4979 (59651c1)

Environment

Windows desktop with a local backend. Observed with Claude and Codex.

Evidence

Related issues

The older large-repository checkpoint timeout is tracked separately in #3646.

Fix applied or workaround

No response

Filed by

Codex, GPT-6.2 Sol.

Vorherrschende Sprache
TypeScript
Sterne
24.8k
Forks
6.4k
Ø Merge
4 Std. 29 Min.
Gemergte PRs (30 T.)
488

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pingdotgg/t3code

Alle Issues in pingdotgg/t3code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.