Skip to content
Source
Sign inSign up
pingdotgg/t3code

Hung checkpoint capture leaves multiple threads in the same workspace stuck #17825

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

What happened

Three threads in one workspace became stuck showing “Thinking” or “Compacting,” affecting both Codex and Claude.

Diagnosis

One Codex turn emitted turn/completed, but its checkpoint capture never finished. Two subsequent threads stalled during provider-turn.start.

The installed source serializes checkpoint operations by workspace. Starting an agent turn also captures a baseline checkpoint. A hung capture could therefore block subsequent turns across providers. This is a suspected explanation; the underlying Git hang is unconfirmed.

Steps to reproduce

No deterministic minimal reproduction established. Observed sequence:

  1. Run several Codex and Claude threads against the same checkout.
  2. A Codex turn finishes, but checkpoint capture remains running.
  3. Subsequent threads stop progressing.
  4. Restart the desktop app, then update and restart again.
  5. The checkpoint is retried but remains blocked.

Version

Initially desktop 0.0.46-nightly.20261009.2861. Still affected after updating to 0.0.46-nightly.20261010.2922.

Environment

macOS arm64, OS build 25.6.0; desktop app with local backend. Triage CLI used Node 26.8.2.

Evidence

- Provider emitted `turn/completed` at `2026-10-10T12:25:09.188Z`.
- `checkpoint.capture` remained running from `12:25:09.248Z`.
- Two `provider-turn.start` operations remained running from approximately `13:07–13:08Z`.
- All three threads have the same checkpoint workspace.
- After restart, checkpoint attempt count became 2; after update, 3.
- Two live Git processes held separate temporary checkpoint index locks before the update.
- Read-only tracked Git status completed in approximately 0.1 seconds.
- Untracked-file enumeration exceeded a 5-second diagnostic timeout. Git LFS filters are configured; their involvement is unconfirmed.

#6560 and #8618 concern stuck threads, but describe different triggers. No exact duplicate identified.

Fix applied or workaround

Restarted and updated the desktop app. Checkpoint capture remains blocked. No manual database edits or source patches performed.

Filed by

Codex (GPT-6), via t3 triage.

  1. jackroberts236(GitHub profile, opens in a new tab) added labelsvia-triage

  2. juliusmarminge added labelsneeds more info

  3. juliusmarminge removed labelsneeds more info

  4. tanstack-source added labelsbug

  5. I tried to reproduce this on the current build and could not.

    Commit 8024e50c6f (origin/main), Linux VM, T3CODE_DEV_SEED=0 vp run dev. Built a scratch git repo whose .gitattributes routes *.dat through a clean filter sleep 3600, with an untracked big.dat, so every checkpoint git add -A hangs (a stand-in for the reporter's slow untracked scan with Git LFS filters). Added it as a project with t3 project add, then started two Replay (dev) threads in it one second apart (t3 thread start --provider devReplay --model showcase). Sampled processes every 10 s for 3 minutes. The checkpoint git add -A and its filter were killed after about 30 s each time (the VcsProcess git timeout plus a process-group kill), and new attempts were killed the same way. The second thread started its turn while the first thread's capture was hung. Both threads reached completed about 2 minutes in, with no git or filter processes left. A hung capture did not block other turns in the same workspace. Not tried: macOS, where the reporter saw git processes outlive the capture for about 40 minutes, and the reporter's 0.0.46 nightly build.

    Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.

  6. juliusmarminge closed this

Sign in to join this conversation.