feat(desktop): manage WSL Host projects - #4306
Merged
Merged
Conversation
M4n5ter
force-pushed
the
feat/wsl-host-project-management
branch
3 times, most recently
from
August 31, 2026 05:54
dcc33ba to
856c2ea
Compare
M4n5ter
marked this pull request as ready for review
August 31, 2026 06:10
jackwener
approved these changes
Aug 31, 2026
jackwener
left a comment
Member
There was a problem hiding this comment.
Approved at the explicit direction of M4n5ter. No technical review was performed as part of this action; M4n5ter requested the approval and accepts responsibility for subsequent handling.
Review notice: This approval was submitted by an automated review agent operated by jackwener and is published at the direction of M4n5ter, who is the human accountable for it.
M4n5ter
force-pushed
the
feat/wsl-host-project-management
branch
from
August 31, 2026 06:37
856c2ea to
9fa9561
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
WSL Runtime Hosts could be added and used, but Desktop did not retain the exact managed deployment identity needed to edit their allowed project roots. The project picker also had no route to the canonical project manager, so stale projects could accumulate without an obvious management surface.
What changed
wsl.exe --exec <absolute-operator>with bounded framed output, exact deployment fencing, CAS updates, and reconnect handling.Scope
Pre-release WSL binding shapes are intentionally not migrated.
Onboarding the same physical State Root through both managed SSH and WSL is not supported. The binding store fails closed before a second owner can be persisted; fully rejecting that case before setup commits would require a separate two-phase operator identity/claim protocol and is outside this PR.
Verification
中文
背景
WSL Runtime Host 已经可以添加和使用,但 Desktop 没有保存编辑项目目录白名单所需的精确 managed deployment identity。项目快速选择器也没有通往唯一项目管理页面的入口,长期使用后无效项目会不断累积。
变更
wsl.exe --exec <absolute-operator>执行 WSL status 和项目目录配置,使用有界 framed output、精确 deployment fencing、CAS 更新和重连处理。范围
产品尚未发布,因此不迁移开发期的 WSL binding 中间格式。
不支持把同一个物理 State Root 同时通过 managed SSH 与 WSL onboarding。binding store 会 fail closed,确保第二个 owner 不会落盘;若要在 setup commit 前就识别并拒绝,需要独立的两阶段 operator identity/claim 协议,不属于本 PR。
验证