You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(renderer): keep Desktop-internal environments out of the connection list - #972
Settings → Connections builds its Host list from the Renderer's known Host IDs and only filters out durable. Codex Desktop also reports its own internal environments (IDs starting with env_e_) there, so they appeared as connection Hosts and Harness availability was probed for each one.
isListedConnectionHost now excludes durable and env_e_*, and is used for the three places that list or refresh connection Hosts. Request routing for those IDs is unchanged.
Related issues
N/A
Test plan
New renderer-binding-probe-host-catalog.test.ts case: env_e_ Hosts are left out of the connection list and refresh. On current main without the fix it fails; with the fix the file passes (29 tests). npx tsc -b passed.
This has run in my fork's Desktop builds since v0.21.0.
BytePioneer-AI/codex-host#758:同样涉及过滤 durable 和 remote-control:env_e_<id>,并覆盖 Connections 列表、Harness 探测和 known Hosts。
Suggested reviewers:bytepioneer-ai, mouzhi
Merge Risk: Low · up to 2ee31
Codex Desktop's internal environments no longer appear in Settings → Connections or in the list refresh. One possible side effect remains. If an internal environment ever becomes the active Host, it may still be probed once for the active Composer. This is likely intended behavior and has low impact.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 3 remain after this review.
Comment rejected. The review assumes that a connected remote-control:env_e_... Host is a Desktop-internal environment. Desktop's routing and remote-session code treat remote-control: connections as connectable Hosts. Desktop excludes the remote-control:env_e_... ID from knownHostIds only when it is disconnected. A connected Remote Control connection is therefore not internal under the inspected Desktop contract, and the prefix check need not change.
ump45nose
added a commit
to ump45nose/codex-host
that referenced
this pull request
Nov 20, 2026
Every manifest line is now a branch with only its own change, cut from v0.22.0 or from the one branch named in its comment. Drops lines upstream v0.22.0 already has (BytePioneer-AI#913-BytePioneer-AI#917), the covered replay-integration, shared-remote-threads-and-delegation (now thin BytePioneer-AI#970/BytePioneer-AI#971/BytePioneer-AI#972 lines), external-side-chat (now thin BytePioneer-AI#969), remote-ssh-share-local-data, the net-zero Claude Desktop entrypoint pair, and the user-instructions lines rejected upstream as BytePioneer-AI#741. rr-cache holds the recorded resolutions for merging the thin branches onto v0.22.0.
Signed-off-by: Vincent <[email protected]>
Merged, thanks @ump45nose! Cleanly extends the existing durable filter to Desktop-internal env_e_* environments across registration, listing, and batch refresh, with all 29 host-catalog tests passing.
Eleven manifest lines still carried fork copies of changes that upstream has
already released. Each one names a merged PR whose head commit is an ancestor
of v0.28.2, so the line only re-applies the pre-review copy of code that the
release tag already contains, and that duplication is what turns the manifest
replay into conflicts.
Removed lines and their merged PRs:
- thin/cursor-fast-selection (BytePioneer-AI#782)
- thin/delegation-inspect-fast-models (BytePioneer-AI#986)
- thin/delegation-catalog-parent (BytePioneer-AI#970)
- thin/settings-hide-desktop-envs (BytePioneer-AI#972)
- thin/settle-turns-after-session-fault (BytePioneer-AI#969)
- thin/external-thread-turn-recency (BytePioneer-AI#973)
- thin/claude-code-todo-tools (BytePioneer-AI#976)
- thin/reasoning-summary-parts (BytePioneer-AI#967)
- thin/shared-archived-thread-revival (BytePioneer-AI#988)
- fix/desktop-mcp-session-reap-v0.22 (BytePioneer-AI#981)
- fix/macos-descriptor-mode (BytePioneer-AI#1004)
For the two lines whose comments noted that the fork copy predated the PR's
review changes (BytePioneer-AI#969, BytePioneer-AI#976), the reviewed upstream version replaces it.
Checked with `scripts/vincent-release.sh audit` (ancestor and patch-cherry
checks) and by replaying the manifest onto v0.28.2 in a scratch worktree: these
eleven lines no longer merge, and the fifteen remaining lines are fork-only
changes that need re-cutting from the new tag.
Lines for fork-only additions are untouched: the extras documented for BytePioneer-AI#470,
BytePioneer-AI#987 and BytePioneer-AI#989 stay, and the lines for the closed PRs BytePioneer-AI#576, BytePioneer-AI#783, BytePioneer-AI#784, BytePioneer-AI#785 and
BytePioneer-AI#396 stay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Settings → Connections builds its Host list from the Renderer's known Host IDs and only filters out
durable. Codex Desktop also reports its own internal environments (IDs starting withenv_e_) there, so they appeared as connection Hosts and Harness availability was probed for each one.isListedConnectionHostnow excludesdurableandenv_e_*, and is used for the three places that list or refresh connection Hosts. Request routing for those IDs is unchanged.Related issues
N/A
Test plan
renderer-binding-probe-host-catalog.test.tscase:env_e_Hosts are left out of the connection list and refresh. On currentmainwithout the fix it fails; with the fix the file passes (29 tests).npx tsc -bpassed.