-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Desktop: parallel WSL + Windows backends with mode picker #2751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Jgratton24
wants to merge
90
commits into
pingdotgg:main
Choose a base branch
from
Jgratton24:josh/desktop-wsl-parallel-backends
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
f83d73b
fix(server): fall back to direct fd read on EACCES bootstrap
Jgratton24 0ae9a14
feat(desktop): add WSL backend mode
Jgratton24 3b9f86c
fix(desktop): address bot review findings on WSL backend swap
Jgratton24 80eddbb
fix(desktop): clear swap flow timer in finally + drop duplicate env-s…
Jgratton24 3b18e6d
fix(desktop): resolve WSL user home for tilde paths, fix select value…
Jgratton24 b6c25ca
fix(desktop): namespace backend-runtime select sentinels and drop red…
Jgratton24 4506e73
fix(desktop): treat re-pick of resolved-default distro as a no-op
Jgratton24 6d32481
fix(desktop): widen swap flow ceiling to cover stacked rollback waits
Jgratton24 e15edd9
fix(desktop): drop dead WslConfig.enabled and extend toast suppressio…
Jgratton24 cb8fbe5
fix(desktop): baseline welcome env-id from the atom to avoid immediat…
Jgratton24 4f3a90c
fix(desktop): preserve existing WSLENV entries
Jgratton24 b20a966
feat(desktop): scaffold DesktopBackendPool for concurrent backends
Jgratton24 a8fc784
feat(desktop): reshape DesktopBackendManager into per-instance factory
Jgratton24 425c7d0
feat(desktop): move backend-ready latch from DesktopState onto the wi…
Jgratton24 563820e
feat(desktop): route backend child output through a per-instance log …
Jgratton24 a0eaf56
feat(desktop): add register/unregister to DesktopBackendPool
Jgratton24 b162219
feat(desktop): replace wslMode swap toggle with wslBackendEnabled
Jgratton24 31ce3ad
feat(desktop): split DesktopBackendConfiguration into primary + wsl r…
Jgratton24 627c80c
feat(desktop): orchestrate the WSL backend as a second pool instance
Jgratton24 3fe02a4
docs(desktop): update DesktopBackendPool header for step-5 state
Jgratton24 bad6604
feat(desktop): widen local-environment bootstrap IPC to return all in…
Jgratton24 5d80468
feat(desktop): route pickFolder by target environment id
Jgratton24 eb5a03e
feat(web): replace WSL swap dialog with a toggle + distro picker
Jgratton24 60de6af
docs(desktop): refresh DesktopBackendPool header for steps 6-8 state
Jgratton24 1c7e787
feat(web): register WSL backend as a desktop-local environment
Jgratton24 38e8477
feat(web): allow "Open from file manager" against desktop-local envs
Jgratton24 c17897b
fix(web): write WSL bearer before upserting record to avoid auth race
Jgratton24 0e1d78e
docs(desktop): record final state + browser validation in pool docblock
Jgratton24 df23691
fix(desktop): route WSL renderer fetches through the distro's eth0 IP
Jgratton24 2c1620d
fix(server): make the desktop-bootstrap grant reusable for 24h
Jgratton24 24b012d
fix(web): retry local-secondary reconcile during WSL cold boot
Jgratton24 ad7e3d7
fix(web): use a container icon for desktopLocal threads in the sidebar
Jgratton24 0dbdd9f
fix(web): keep auto-retrying when the WSL bootstrap hasn't appeared yet
Jgratton24 943e1ed
fix(web): use container icon on desktopLocal-only project headers
Jgratton24 6bf864d
fix(web): timeout each WSL register attempt + expose reconciler trace
Jgratton24 c47ec5d
feat(web): show a sidebar status alert while WSL backend is connecting
Jgratton24 3558e21
fix(web): keep WSL connecting indicator steady between retry attempts
Jgratton24 a7a2e1b
fix(web): drop per-thread container icon when the whole project is WSL
Jgratton24 449e18f
feat(web): confirm before disable / distro-switch when WSL has state
Jgratton24 e00ad61
feat: add wsl-only mode + project icon dedup
Jgratton24 3c82c95
feat: auto-restart on wsl-only toggle
Jgratton24 d71f3b1
feat(web): consolidate WSL backend toggle and distro picker into one …
Jgratton24 1ebb0e5
fix(desktop): load renderer from primary's real URL, not local exposure
Jgratton24 05c5295
feat(web): pick WSL mode at enable time, clean up Off-from-wsl-only path
Jgratton24 aebb4fa
perf(web): park the local-secondary auto-retry on hosts with no WSL
Jgratton24 c3374a8
fix: review feedback from PR #2751
Jgratton24 ba31706
fix(desktop): stop every pool instance before update install, not jus…
Jgratton24 8a55a55
fix(desktop): stop every pool instance on normal shutdown, not just p…
Jgratton24 ce93b7a
fix(desktop): use loopback for WSL backend URL when in mirrored mode
Jgratton24 b62348b
fix(desktop): hide preflight-failed bootstraps + serialize WSL reconcile
Jgratton24 7e1368d
Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-pa…
Jgratton24 d4df9bb
Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-pa…
Jgratton24 9df7012
Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-pa…
Jgratton24 604de5d
fix(desktop): don't let spec.onShutdown abort stop() teardown
Jgratton24 ee7c0f8
refactor(desktop): single source of truth for the wsl: instance-id pr…
Jgratton24 a934809
Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-pa…
Jgratton24 da200cf
fix(desktop): two bugbot follow-ups on parallel-backends scaffolding
Jgratton24 3a5c764
Merge upstream/main into josh/desktop-wsl-parallel-backends
Jgratton24 defdf57
fix(desktop): fall back to Windows primary when wsl-only but WSL unav…
Jgratton24 d2b68cd
fix(desktop): log window-open failures after backend readiness
Jgratton24 2462f0e
fix(web): give a recovery control when WSL becomes unavailable
Jgratton24 3be6625
fix(desktop): make bootstrap-token get-or-create atomic
Jgratton24 d729b00
fix(desktop): primary label follows the resolved backend, not just se…
Jgratton24 c61ea48
Fix WSL picker and backend restart edge cases
Jgratton24 d84971a
Fix backend shutdown edge cases
Jgratton24 bbc10df
Resolve primary backend label lazily
Jgratton24 9752f9e
fix(desktop): resolve WSL availability once so the sync IPC path is safe
Jgratton24 b9e12d3
Improve WSL project opening from command palette
Jgratton24 e3448d0
Avoid duplicate backend shutdown notifications
Jgratton24 43187e6
Merge remote-tracking branch 'origin/main' into pr-2751
Jgratton24 2afae37
fix(desktop): apply WSL distro changes in wsl-only mode + unblock rec…
Jgratton24 ae03db4
Merge upstream/main into josh/desktop-wsl-parallel-backends
Jgratton24 993261f
fix(desktop): call handleBackendReady with URL in off-origin nav test
Jgratton24 56c0512
fix(desktop): tolerate numeric networkInterfaces family in mirrored-m…
Jgratton24 7d15110
fix(desktop): preserve existing WSLENV verbatim when forwarding secrets
Jgratton24 adaa183
Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-pa…
Jgratton24 3ca0696
test: point WSL test imports at vite-plus/test after upstream sync
Jgratton24 bd82399
refactor(desktop): use Effect.orElseSucceed for WSL probe fallbacks
Jgratton24 6ebdc74
Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-pa…
Jgratton24 19c2146
fix(desktop): resolve nvm/fnm/asdf-managed node for the WSL backend
Jgratton24 383d41c
fix(desktop): cap WSL preflight failures, surface them, fall back to …
Jgratton24 fe77570
fix(desktop): surface WSL preflight failures cleanly
Jgratton24 aba2f1b
fix(desktop): reuse SSH node resolver for WSL
Jgratton24 ac4d02e
fix(web): retry local secondary registration after connect failure
Jgratton24 d72c85a
fix(desktop): retry idle WSL backend after preflight cap
Jgratton24 b7bbad9
fix(desktop): pass WSL node engine range to resolver
Jgratton24 495c2dd
fix(desktop): clear stale WSL readiness state
Jgratton24 382d699
fix(desktop): relaunch when enabling WSL-only backend
Jgratton24 e560f70
fix(desktop): keep WSL fallback state in memory
Jgratton24 3d04133
fix(desktop): clear WSL-only state when disabling WSL
Jgratton24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.