Skip to content

fix(editor): open secondary WSL projects in Windows Zed - #51

Merged
EvilWeasel merged 2 commits into
mainfrom
weasel/fix-wsl-open-in-zed-20261022
Oct 23, 2026
Merged

EvilWeasel merged 2 commits into
mainfrom
weasel/fix-wsl-open-in-zed-20261022

Conversation

@EvilWeasel

@EvilWeasel EvilWeasel commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Secondary local environments such as WSL lost the entire editor row because the picker was restricted to the primary environment or an SSH link. Show it for projects in secondary local environments too, and use the selected environment's editor list.

Discover Windows zed.exe from WSL and launch it with the current user and distribution. The regression case expects zed.exe --wsl developer@Ubuntu /home/developer/projects/sample-app. Native Linux, SSH and existing wrapper resolution retain their current behavior. The visibility restriction is also present in upstream.

Validation:

  • Focused picker, remote-resolution and launcher tests: 45 passed; after the argument-type correction, all 22 launcher tests passed again.
  • Blacksmith CI on the final head: passed, including source/type checks and the Windows installer guard.
  • Live isolated browser check at 1280 px and 390 px: a separate local backend registered as local:wsl:Ubuntu displayed “Open in Zed”. Clicking it traversed the real RPC/launcher path and a recording executable received --wsl, developer@Ubuntu and the fixture project path exactly once. Desktop and narrow screenshots are retained in the originating T3 thread; GitHub image attachments are still pending.

The browser backend simulated WSL on Linux and used a temporary project-path prefix. Actual Windows Zed startup on the Windows test host remains unverified because SSH access timed out. No Nightly publication or installation has been performed.

Model: GPT-6.1-Sol, medium reasoning. Harness: Codex in T3 Code.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Signed-off-by: evilweasel <38261180+EvilWeasel@users.noreply.github.com>
Signed-off-by: evilweasel <38261180+EvilWeasel@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T16:09:25.497038Z 47571c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@EvilWeasel
EvilWeasel merged commit 8a187d3 into main Oct 23, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant