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

Đang mở
#39,714 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@juliusmarminge đang làm issue này rồi.

Từ ngày 20/11/2026.

  • #39784 của @juliusmarminge — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, typescript
Lĩnh vực
desktop, devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
4 giờ 29 phút
Pull request đã merge (30 ngày)
488

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.