Skip to content

Windows Codex Desktop: persisted local thread reopens with only its first turn after restart #41758

Closed as duplicate

Description

@eidoscore

App version

OpenAI.Codex Microsoft Store package 26.825.6671.0.

Platform

Windows desktop app, local Windows-native project. No SSH, WSL, Remote Control, or second host is involved.

Issue

A long-running local Codex Desktop chat remains present in the project sidebar after closing and reopening the app, but opening it renders only the initial user message and initial assistant response. All later messages disappear from the visible chat.

This is repeatable after a normal close/reopen and persists after updating the app.

The conversation has not been deleted: its local rollout/session JSONL remains valid and continues to receive events. For one affected thread, I observed:

  • desktop thread/read / thread/turns/list exposes only one initial turn with status inProgress;
  • thread metadata's updatedAt remains equal to its original createdAt;
  • the raw local journal contains 523 persisted message items (91 user, 425 assistant, 7 developer), plus tool and reasoning items; its latest event is after the latest restart.

This appears to be a mismatch between the thread/index record used by the desktop UI and the persisted rollout journal. It is not sidebar filtering: the thread is visible and selectable, but its detailed view contains only turn one.

Steps to reproduce

  1. Start a local Windows-native Codex Desktop chat in a saved project.
  2. Continue it for many user/assistant exchanges. This happened in a chat involving tool work, though I have not isolated tools as a required cause.
  3. Close the desktop app normally and reopen it.
  4. Open the same still-visible chat from its project.
  5. Observe only the first exchange is rendered.

Expected behavior

Every persisted turn should rehydrate in the desktop chat view after a normal restart, and stored thread metadata should advance as turns are saved.

Actual behavior

The raw journal retains the conversation, but the desktop thread API/UI behaves as though only the first, never-finished turn exists. The task becomes unusable after restart because important context is hidden.

Additional information

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Aug 31, 2026
  2. goodman-oai commented on Nov 16, 2026

    @goodman-oai
    Contributor

    Closing as a duplicate of #40452. After restart, the history reader returned only the first inProgress turn despite 523 message items in the rollout. The Windows trace in #40452 shows the same cutoff. The first turn was still marked active, the page was exhausted, and later completed turns remained on disk. Matching trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions