Renaming an SSH alias leaves stale task bindings and makes existing tasks unopenable
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by tracing local state handling for thread-project-assignments and the SSH host and project IDs, then inspect where task selection would issue thread/read or thread/resume. Reproduce the alias rename flow and verify that existing tasks remain selectable and responsive after the connection is reopened under its new host ID, with reassignment available when reconciliation is ambiguous.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.61943
What subscription do you have?
Pro 20x
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
After renaming an SSH host alias, selecting tasks created under the previous alias makes Codex Desktop unresponsive.
The renamed connection works normally, and the affected tasks remain healthy on the remote machine. They can be listed and read when explicitly addressed through the new host ID.
Local state inspection shows that saved remote projects use the new host ID, while existing thread-project-assignments still reference the previous host ID and obsolete project IDs.
When an affected task is selected, the renderer becomes unresponsive before a target-specific thread/read or thread/resume request is logged.
What steps can reproduce the bug?
- Configure an SSH host alias.
- Connect to it in Codex Desktop, save remote projects, and create tasks.
- Quit Codex Desktop.
- Rename the SSH alias without changing the underlying remote machine.
- Reopen Codex Desktop and connect using the renamed alias.
- Select a task created under the previous alias.
- Codex Desktop becomes unresponsive.
What is the expected behavior?
Codex should reconcile existing task and project bindings when an SSH alias is renamed, preserving access to the remote task history.
If automatic reconciliation is ambiguous, the app should offer a way to reassign the task to the renamed connection instead of becoming unresponsive.
Additional information
The remote Codex state and task histories are intact. This appears to be a Desktop state-reconciliation problem: the tasks can be accessed using the new host ID, but their local project assignments still point to the previous host ID and project IDs.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
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.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·