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]: partial import retry certifies a transcript without its new messages #36603
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
Import a native Codex transcript. Let its history commit, then fail the provider runtime insert.
Continue the session outside T3, adding user and assistant messages.
Retry the import.
The deterministic importer test uses a real SQLite TEMP trigger on provider_session_runtime to abort the insert, drops it, extends the candidate transcript, and calls importer.run again. Run pnpm exec vp test run apps/server/src/project/AgentSessionImporter.test.ts with the regression test in the linked fix.
Expected behavior
Do not report the continued transcript as imported or record its source identity unless the thread holds its messages. Safely skipping changed history is acceptable; unchanged retries should recover.
Actual behavior
The retry reports the continued transcript as imported and records its newer identity, while the imported thread still holds only the original messages. The native continuation is missing in T3.
Impact
Minor bug or occasional failure
Version or commit
Reproduced on pingdotgg/main at 5e06246. Independently confirmed by Claude Opus 5.5 at d2bdd58.
Environment
Linux, server importer integration test with real SQLite persistence and a Codex transcript fixture. No provider account required.
Logs or stack traces
The strengthened regression fails on main: expected the retry to be skipped, received imported. It passes with the fix.
Screenshots, recordings, or supporting files
Found by GPT 6.1 Sol in Wout’s bughunt, independently confirmed by Claude Opus 5.5. The SQLite trigger proves partial persistence, not a real disk-full event, crash, or client disconnect.
Workaround
Avoid continuing the native session between a failed import and its retry.
Activity