Skip to content

iOS cannot load messages from CLI 0.147.0 paginated threads #38889

Open

Description

@0x7067

What version of the Codex App are you using (From “About Codex” dialog)?

  • ChatGPT desktop app on the host Mac: 26.810.52044 (build 6662)
  • Standalone Codex CLI: codex-cli 0.147.0
  • ChatGPT iOS app: exact installed version is not visible in the screenshot

What subscription do you have?

Paid ChatGPT subscription; exact tier was not available from the local diagnostic state.

What platform is your computer?

Darwin 25.6.0 arm64 arm

The client showing the failure is ChatGPT/Codex on iOS.

What issue are you seeing?

Threads started with Codex CLI 0.147.0 appear in the mobile thread list and open far enough to show their title, host/account row, and composer, but the message list does not load.

The iOS client displays:

Error loading messages: Codex server returned an error.

The same thread remains usable from the CLI and desktop app. Threads started from the desktop app can be opened normally on mobile. The failure has only been observed with CLI-started threads.

What steps can reproduce the bug?

  1. On macOS, run Codex CLI 0.147.0.
  2. Start a new thread from the CLI and complete one or more turns.
  3. Open ChatGPT/Codex on iOS while connected to the same host/account.
  4. Select the CLI-started thread.
  5. Observe that the thread metadata renders, but the message list is replaced by the server error above.
  6. Open a desktop-app-started thread on the same mobile client and observe that its messages load normally.

What is the expected behavior?

CLI-started threads should load their messages on iOS just like desktop-app-started threads. The client should hydrate recent messages incrementally and allow the thread to be read and continued from mobile.

Additional information

Read-only local inspection found a strong format/version correlation:

  • Affected CLI 0.147.0 threads use history_mode = paginated.
  • Older CLI threads and desktop-app-started threads use history_mode = legacy.
  • The affected transcript remains valid locally and has no recorded turn errors.
  • Desktop-app-started legacy threads open normally on the same mobile client.

This suggests a mobile/app-server compatibility regression in the paginated history hydration path introduced for CLI-started threads, rather than local transcript corruption.

Related issues:

Private thread IDs, project paths, repository names, prompts, command output, and screenshots containing account/project metadata are intentionally omitted.

Activity

  1. added
    bug
    iOS
    app-server
    on Aug 16, 2026
  2. github-actions commented on Aug 16, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. nardovibecoding commented on Aug 17, 2026

    @nardovibecoding

    I can reproduce this exact failure with a fresh CLI-started thread.

    • Codex CLI: 0.147.0
    • ChatGPT desktop app: 26.810.41047
    • macOS: 26.3.1
    • Mobile behavior: the thread appears in Remote after /app, but opening it shows Error loading messages / Codex connection was invalidated.
    • Local deterministic rollout scan: clean; the thread remains usable in CLI and desktop.
    • Remote was re-paired and the desktop app restarted, with no change.

    Diagnostics were uploaded through /feedback. Uploaded thread ID for maintainers: 01a00e58-329a-74a3-a386-add19aa514c0.

    Observed at 2026-08-17T06:21:23Z. No raw transcript or private project data is included here.

  4. synedu commented on Aug 31, 2026

    @synedu

    I can reproduce this regression on a newer macOS/desktop combination, and it is not limited to CLI-created 0.147 threads.

    Environment:

    • ChatGPT desktop app: 26.820.80927
    • Affected thread metadata: originator = Codex Desktop, codex-cli 0.150.0-alpha.8, history_mode = paginated
    • New task metadata: originator = Codex Desktop, codex-cli 0.151.0, history_mode = paginated
    • Client showing the failure: ChatGPT/Codex Remote on iOS

    Observed:

    1. iOS Remote lists the older desktop-created task.
    2. Opening it directly on iOS reports that the existing thread/messages cannot be loaded.
    3. The same thread opens normally on desktop.
    4. A direct read_thread call returns the complete persisted turns while the thread status is notLoaded.
    5. Desktop-side thread/read, thread/resume, thread/turns/list, and thread/items/list complete successfully with no app-server error.
    6. Creating a new task from iOS works. The agent in that new task can call read_thread for the affected old task and hand over its context successfully.

    This isolates the failure to the iOS direct-open hydration/resume path. The durable transcript, host connection, and permissions remain usable. It also broadens the issue from CLI-created threads to desktop-created paginated threads, particularly dormant threads crossing the 0.150 to 0.151 runtime update.

    Expected: selecting an existing Remote task should hydrate and resume it exactly as desktop does.

    Text-only feedback was also submitted through /feedback without logs because local logs may contain private clinical data. Feedback thread reference for maintainers: 01a0566a-903e-73c2-a8ea-786d5b8979d5.

  5. aommi commented on Sep 5, 2026

    @aommi

    Still reproducible on current versions as of 2026-09-05:

    • ChatGPT desktop app on macOS: 26.901.41123 (build 7942)
    • Standalone Codex CLI: codex-cli 0.153.4
    • Mobile Remote client version: not captured
    • Host is the local Mac connected directly through Remote (not an SSH host)

    Observed behavior remains the same:

    1. Tasks created from Codex CLI appear in the mobile Remote task list with their metadata/title.
    2. Selecting an affected CLI-created task does not load its messages.
    3. A task created from the desktop app opens normally through the same phone, account, workspace, host, and Remote pairing.
    4. Updating and restarting both clients did not resolve the issue.

    Read-only inspection on the desktop host shows the affected CLI tasks as notLoaded, but thread/read can retrieve their full paginated turn history successfully, including a valid nextCursor/hasMore page response. This indicates that the persisted transcript is readable on the host and the failure is isolated to mobile hydration/rendering of CLI-created paginated tasks.

    On an older desktop build, the same inspection path returned paginated threads do not support thread/read(includeTurns=true); after updating, desktop-side paginated reads work, while the mobile failure remains.

    Expected: Mobile Remote should hydrate and open CLI-created paginated tasks just as it opens desktop-app-created tasks.

    Private task IDs, project paths, titles, prompts, command output, and logs are intentionally omitted.

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

    app-serverbugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions