Two parallel threads running with the same thread id

Open
#34,034 4 comments 2 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
Quiet
Tech stack
rust

Research direction

Reproduce the issue by starting a thread on one machine and sending a message from another through Remote SSH. Trace the thread and subagent synchronization paths involved in that flow; done means both machines keep one consistent conversation and messages do not appear in or trigger unrelated subagent threads.

Written by the indexing model from the issue text.

Description

app bug remote session subagent
What version of the Codex App are you using (From “About Codex” dialog)?

26.715.31925

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

While using Remote SSH in Codex Desktop, I started a thread on one machine and tried to steer it from another. But instead of them staying in sync, they seem to "fork" while keeping the same conversation name and same thread id, which is very confusing both to me and the agents.

Oh and also, messages I sent to a main thread also appeared in a subagent thread, and the subagent started acting on it, duplicating the work between the two and stepping on each other!

What steps can reproduce the bug?

Start a thread on one machine, and send a message to it from another machine connected to the same Codex through remote ssh.

What is the expected behavior?

No response

Additional information

No response

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.