You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Re-importing a session leaves its untouched imported thread stuck at the first import #43875
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Run a Claude Code session in a project folder from the terminal.
Import it through the welcome page (Settings → About → Welcome page → import). The thread shows the session's messages.
Don't send anything from T3 Code. Keep using the same session in the terminal for a few more turns.
Run the welcome-page import again for the same project.
Expected behavior
The imported thread now shows the newer messages. It has no T3 Code runs, so there's nothing to merge: its history can be rebuilt from the current transcript, the same rule #34064 applies to a deleted import thread with no runs.
Actual behavior
The thread stays at the first import's snapshot, and the session is counted as skipped. The newer turns can't reach the thread at all, by any re-import.
From reading AgentSessionImporter.ts on main (3c4c168): the transcript's size changed, so it no longer matches the completed source and gets read again. getThreadRecords finds the existing v1_import thread in the same project, its stored messages differ from the transcript, the importer returns false, and that counts as skippedCount. The check is right for a thread that was continued in T3 Code (its runs are also in the native session), but it applies the same way to a thread with no runs.
Seen on desktop 0.1.13-nightly.20261126 (Linux) with Claude Code: the imported thread ends several turns before the transcript.
Impact
Major degradation or frequent failure: anyone who moves between the CLI and T3 Code gets a thread that silently stops at the first import.
Activity