Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Loss of context when the app is restarted #2140

ClosedKevin-nav(GitHub profile, opens in a new tab) opened this issue 7 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Close the app with an ongoing session. I was using the gpt models specifically
  2. Reopen and continue the conversation. You will notice that the model has loss all context of the previous conversation. I was using gpt 5.4 when this behavior was noticed.
  3. This has only been observed in the v0.0.20 of T3 Codes.

Expected behavior

It should continue normally with the full context on what is happening

Actual behavior

The model has no context of the previous conversation.

Impact

Blocks work completely

Version or commit

sha256:2ca48ec849c721a9e45cc080de4fe74790c9c85ac300c5cd28a7e141bc8704e8

Environment

Windows

Logs or stack traces

Source: C:\Users\Kevin\.t3\userdata\logs\server-child.log

130202:[10:07:17.276] INFO (#55433): codex app-server opening thread
130203:  {
130204:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
130205:    requestedRuntimeMode: 'full-access',
130206:    requestedModel: 'gpt-5.4',
130207:    requestedCwd: 'C:\\Users\\Kevin\\Projects\\Mahok\\M',
130208:    resumeThreadId: null
130209:  }
130210:[10:07:17.392] INFO (#55436): codex app-server thread open resolved
130211:  {
130212:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
130213:    threadOpenMethod: 'thread/start',
130214:    requestedResumeThreadId: null,
130215:    resolvedThreadId: '019d9ae8-bd53-7902-b38f-1b3c639a212b',
130216:    requestedRuntimeMode: 'full-access'
130217:  }

130338:[11:46:23.765] INFO (#157): provider.session.reaped
130339:  {
130340:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
130341:    provider: 'codex',
130342:    idleDurationMs: 2074460,
130343:    reason: 'inactivity_threshold'
130344:  }

130480:[13:38:55.587] INFO (#1139): codex app-server opening thread
130481:  {
130482:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
130483:    requestedRuntimeMode: 'full-access',
130484:    requestedModel: 'gpt-5.4',
130485:    requestedCwd: 'C:\\Users\\Kevin\\Projects\\Mahok\\M',
130486:    resumeThreadId: null
130487:  }
130488:[13:38:55.790] INFO (#1148): codex app-server thread open resolved
130489:  {
130490:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
130491:    threadOpenMethod: 'thread/start',
130492:    requestedResumeThreadId: null,
130493:    resolvedThreadId: '019d9baa-8049-78b1-a5d6-66111cd546f5',
130494:    requestedRuntimeMode: 'full-access'
130495:  }

131301:[15:44:00.250] INFO (#1446): codex app-server opening thread
131302:  {
131303:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
131304:    requestedRuntimeMode: 'full-access',
131305:    requestedModel: 'gpt-5.4',
131306:    requestedCwd: 'C:\\Users\\Kevin\\Projects\\Mahok\\M',
131307:    resumeThreadId: null
131308:  }
131309:[15:44:00.400] INFO (#1449): codex app-server thread open resolved
131310:  {
131311:    threadId: '78bd7eee-0f6a-4f97-9627-08d3588608ca',
131312:    threadOpenMethod: 'thread/start',
131313:    requestedResumeThreadId: null,
131314:    resolvedThreadId: '019d9c1d-0352-7d51-81dd-fc02b7090ded',
131315:    requestedRuntimeMode: 'full-access'
131316:  }

Screenshots, recordings, or supporting files

Screenshot 2026-04-17 213256.png

Workaround

Copying conversation history from the chat to help it have enough context.

  1. Kevin-nav(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. Had the same issues but for me, I saw it happen when the got model near compaction it does not compact instead it feels like it just restarts the convo

  3. I got same issue on my end, but not on restart, but i left a session open overnight and in the morning, the model lost track of everything we did and i had to restart prompting and explaining where we are. And this was me using Opus-4.7 on extra high and 1m context.

  4. @Snowy7 I also noticed that behavior. In one of my threads, I noticed that near compaction, it also lost context but restarting the app just killed all of my threads I try to resume.

  5. Have had the same issues over the past couple days, but not on restart and it wasn't near compaction. And this was with claude code

  6. Been happening to me (not near compaction, no restart, using claude). I just walked away for an hour to get dinner. Almost makes this version unusable - I am constantly working on 4-5 things at once and will frequently leave one sitting for a few hours before I go back to it.

  7. TheGP(GitHub profile, opens in a new tab)commented

    I lost context even without restarting the app in claude code. The break was 15 mins I think

    Image
  8. Had this happen to me a few times already yesterday and today, both with Claude and Codex. It's super annoying. In both cases, I kept the app open and then later came back to it (computer went to sleep), and when I tried to resume the conversation, it didn't remember anything.

  9. juliusmarminge closed this

Sign in to join this conversation.