TUI resume fails: list_turns is not supported yet

Open
#37,754 16 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Reproduce the failure with codex resume <session-id> or the resume picker, then trace the TUI bootstrap path from thread/resume to the unsupported list_turns call. Done means an existing local session resumes successfully, or an incompatible session/protocol produces a specific actionable mismatch instead.

Written by the indexing model from the issue text.

Description

app-server bug CLI TUI
Summary

Codex CLI cannot resume an existing local TUI session because thread/resume calls an unsupported list_turns method during TUI bootstrap.

Environment
  • Codex: codex-cli 0.147.0
  • OS: Linux x86_64 (kernel 5.15)
Steps to reproduce
  1. Have an existing Codex TUI session under ~/.codex/sessions/.
  2. Run codex resume <session-id> or select the session from the resume picker.
  3. Observe that the TUI fails during bootstrap instead of opening the session.
Actual behavior
Failed to resume session from ~/.codex/sessions/YYYY/MM/DD/rollout-....jsonl:
thread/resume failed during TUI bootstrap:
thread/resume failed: list_turns is not supported yet (code -32601)

The local rollout file is still present.

Expected behavior

The CLI should resume the existing session successfully. If the stored session or active app-server protocol is incompatible, Codex should either use a compatible resume path or report a specific actionable version/protocol mismatch instead of invoking an unsupported method.

Additional information

A search of existing openai/codex issues for list_turns and the exact error text returned no matches. The rollout is not attached because it contains private conversation data, but sanitized diagnostics can be provided if needed.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.