openai / openai/codex

Failed to fork current session through the app server

Open
#40,537 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app-server bug CLI
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of Codex CLI is running?

1.0.149

What subscription do you have?

pro

Which model were you using?

gpt-5.6-sol

What platform is your computer?

macos

What terminal emulator and version are you using (if applicable)?

No response

Codex doctor report

What issue are you seeing?

Failed to fork current session through the app server: thread/fork failed during TUI bootstrap: thread/fork failed: failed to prepare paginated fork: thread-store
internal error: thread history projection for 01a0338d-b713-7161-bdfd-c2f900bd201b expected ordinal 4622, got 4621 (code -32603)

What steps can reproduce the bug?

/fork xxx

What is the expected behavior?

No response

Additional information

No response

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.

Research direction

Start by reproducing the failure with the /fork xxx command and trace the thread/fork path through the thread-store handling described in the error. Investigate the thread history projection for the reported ordinal mismatch; done means forking the current session completes without the internal error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.