Remote SSH IAB route appears only after opening the same thread in the remote Linux GUI
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex App 26.901.51231 (bundled Codex CLI 0.153.4)
What subscription do you have?
Not disclosed.
What platform is your computer?
Client: macOS Codex App using Remote SSHRemote execution host: Ubuntu 24.04, x86_64, with the Codex Linux GUI installed
What issue are you seeing?
An IAB backend is not available to a Remote SSH-backed thread until the exact same thread is opened once in the Codex GUI on the remote Linux host.
Before opening the thread in the remote-host GUI, browser discovery returns no IAB backend and direct lookup reports that iab is unavailable. Opening the same thread in the remote-host GUI reports already has an active writer, because the macOS client still owns the active thread. Despite that error, retrying from the original macOS Remote SSH thread immediately discovers the Ubuntu-hosted IAB and can navigate a public test page.
Closing or restarting the Codex GUI on the remote host removes the route and makes IAB unavailable again.
What steps can reproduce the bug?
- Install and run the Codex Linux GUI on an Ubuntu desktop host.
- From Codex App on macOS, connect to that Ubuntu host using Remote SSH and open a thread backed by the remote host.
- After a fresh restart of the Ubuntu Codex GUI, do not open that thread in the Ubuntu GUI.
- In the macOS Remote SSH thread, ask Codex to open a public URL with the in-app browser.
- Observe that no session-owned IAB backend is available.
- In the Ubuntu Codex GUI, open the exact same thread. The GUI reports that the thread already has an active writer.
- Leave the macOS thread open and retry the IAB request there.
- Observe that the Ubuntu-hosted IAB is now available and can navigate the public URL.
- Restart the Ubuntu Codex GUI and retry; IAB is unavailable again until step 6 is repeated.
What is the expected behavior?
If host-side IAB is supported for a Remote SSH-backed thread, the route should be initialized without requiring the same thread to be opened in a second GUI. If this topology is unsupported, IAB should be capability-gated with a clear explanation. Opening a thread in another GUI, especially when resume fails because of the active-writer lock, should not silently change browser availability for the original thread.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the sequence after restarting the Ubuntu Codex GUI, comparing IAB discovery before and after opening the same thread in the remote GUI. Focus on Remote SSH thread initialization, the active-writer condition, and the host-side IAB route. Done means the route initializes for the original macOS thread without the second GUI, or unsupported topologies are clearly capability-gated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100