Codex desktop app default thread list does not include remote-ssh-codex-managed host after restart
What version of the Codex App are you using (From “About Codex” dialog)?
Codex CLI version: 0.142.3
What subscription do you have?
Pro
What platform is your computer?
x86
What issue are you seeing?
<img width="349" height="106" alt="Image" src="https://github.com/user-attachments/assets/5e124ff9-192d-4d29-9830-34bf0e3593ef" />
<img width="343" height="70" alt="Image" src="https://github.com/user-attachments/assets/827cef3f-c93a-4bf3-bb55-cc479753eddc" />
Codex desktop app default thread list does not include remote-ssh-codex-managed host after restart
What steps can reproduce the bug?
Environment
- Codex CLI version: 0.142.3
- Codex App / Desktop remote SSH workflow
- Remote host: remote-ssh-codex-managed:codexu
- Remote cwd: /home/codexu/workdir
- Remote user: codexu
- Shell: bash
- Date observed: 2026-07-21
- Config: disable_response_storage = false
Issue
After restarting Codex, history for the current remote directory appears missing in the default thread/history list.
The records are not actually deleted. They exist locally on the remote host and can be found by search, but the default list_threads / recent history list does not include the remote-ssh-codex-managed:codexu host.
Evidence
On the remote host:
/home/codexu/.codex/sessionscontains historical rollout files./home/codexu/.codex/session_index.jsonlcontains the expected thread IDs./home/codexu/.codex/state_5.sqlitehas 7 threads for/home/codexu/workdir.- Threads are not archived and have non-empty previews.
Codex App behavior:
list_projectsincludes project/home/codexu/workdirwith hostIdremote-ssh-codex-managed:codexu.read_threadworks when passinghostId=remote-ssh-codex-managed:codexu.list_threads(query="workdir")returns the missing remote threads.- But default
list_threads(limit=50)only returnslocalandremote-ssh-discovered:codex_50, notremote-ssh-codex-managed:codexu.
Expected behavior
Default recent thread list should include threads from all available hosts, including remote-ssh-codex-managed:*, merged and sorted by recency.
Actual behavior
Default recent thread list silently omits the remote-ssh-codex-managed:codexu host, making it look like history was lost after restart.
Additional suspicious log
/home/codexu/.codex/app-server-control/app-server.log contains:
Error: app-server control socket is already in use at /home/codexu/.codex/app-server-control/app-server-control.sock
### What is the expected behavior?
_No response_
### Additional information
_No response_
1 Comment
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action