[Bug]: WSL-only mode stuck on "Connecting to WSL..." forever when the WSL backend keeps crashing on startup #14393
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/desktop
Steps to reproduce#
- On Windows, go to Settings > Connections, set the WSL backend to a distro (Ubuntu-22.04 here) and pick "Use only WSL". The app relaunches.
- The WSL backend fails to start. For me it crashed on every start, see the logs below. The bundled runtime needed
libatomic.so.1, which my Ubuntu 22.04 didn't have. So it fell back to the mounted server tree, and that died withCannot find module '@yuuang/ffi-rs-linux-x64-gnu'. - The app sits on "Connecting to WSL..." and never gets past it.
You can also hit it by making the backend unreachable instead of crashing, e.g. sudo iptables -I INPUT -p tcp --dport <port> -j DROP inside the distro before launching.
Expected behavior#
If the WSL backend can't come up, the app should show an error and fall back to the Windows backend for that launch, like it already does when the WSL preflight fails. At minimum it should get me to a window where I can turn WSL-only off.
Actual behavior#
The splash never closes. It has no buttons, and clicking the taskbar icon just brings the splash back, so there's no way to reach Settings. The logs show the backend exiting with code 1 and being restarted every ~10s with no limit. One session had 62 restarts in 13 minutes before I killed it. The only way out was ending it in Task Manager and setting "wslOnly": false in desktop-settings.json by hand.
From reading the code on main (0fcd5f90): the splash only closes once the primary backend reports ready. WSL preflight failures fall back to Windows, but once preflight passes there's no limit:
- exits before ready go through
scheduleRestartwith no attempt cap (DesktopBackendManager.ts#L900) - a backend that's running but unreachable keeps getting re-probed every 60s (DesktopBackendManager.ts#L596)
I have a small fix: after 3 consecutive startup failures in wsl-only mode, show an error and use the existing in-memory Windows fallback for that launch. The desktop tests pass with it, and the new test hangs without it. I'll open a PR and link it here.
Probably related: #3709, #4535, #5967, #13738
Impact#
Blocks work completely
Version or commit#
0.0.44 (Windows desktop)
Environment#
Windows 10 22H2 (19045.6466), WSL 3.0.1.0 (NAT), Ubuntu 22.04
Logs or stack traces#
# desktop.trace.ndjson, repeats every ~10s
wslPreflight: "Could not stage the WSL runtime; launching from the mounted server tree instead." reason: "WSL runtime archive does not contain a working t3 executable"
probeReadiness: Interrupted
scheduleRestartFiber: "backend exited unexpectedly; restart scheduled" reason: "code=1"
# server-child.log, every run
Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu'
Require stack:
- /mnt/c/Users/<me>/.t3/userdata/wsl-server-tree/0.0.44/node_modules/ffi-rs/index.js
code: 'MODULE_NOT_FOUND'
# running the bundled runtime by hand inside the distro
$ ./t3 --version
./t3: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
Screenshots, recordings, or supporting files#
No response
Workaround#
Kill T3 Code in Task Manager, set "wslOnly": false in %USERPROFILE%\.t3\userdata\desktop-settings.json, and relaunch.
In my case, sudo apt-get install -y libatomic1 in the distro also fixed the crash itself.
NightHunter30(GitHub profile, opens in a new tab) added labelsbug
NightHunter30(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge removed labelsneeds-triage
juliusmarminge added labelsaccepted
juliusmarminge added labelsvia-triage
Same crash loop here on T3 Code 0.0.46-nightly.20261007.2761, Windows 11, WSL Ubuntu 22.04.1, Node v24.21.0 via nvm.
libatomic1was not installed.One more data point for the fallback path:
ffi-rsis not the only native package with missing Linux binaries inwsl-server-tree. The tree only ships the win32 variants of:@yuuang/ffi-rs(missing@yuuang/ffi-rs-linux-x64-gnu@1.3.7)@napi-rs/keyring(missing@napi-rs/keyring-linux-x64-gnu@1.3.0)@ff-labs/fff-node(missing@ff-labs/fff-bin-linux-x64-gnu@0.9.4)
node-ptyis fine since it bundles prebuilds for all platforms.After unpacking those three into
wsl-server-tree/<version>/node_modules, all modules load in WSL Node and the backend starts. So a fix for the fallback tree needs to include all three Linux packages (and probably the-muslvariants for Alpine distros), not justffi-rs.Same symptom here on T3 Code 0.0.45 (Windows 11, WSL 2.6.1, Debian 12 bookworm). Root cause was a missing
libatomic1package in the distro. Posting the full chain in case it helps others.Symptoms
- Stuck on "Connecting to WSL…" forever
server-child.logloops on:Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu'(require stack inwsl-server-tree/0.0.45/node_modules/ffi-rs/index.js)desktop.trace.ndjson:Could not stage the WSL runtime; launching from the mounted server tree instead.with reasonWSL runtime installation failed (exit 1): WSL runtime archive does not contain a working t3 executable
What's actually happening
- The staged runtime binary
~/.t3/wsl-runtime/sha256-…/t3is dynamically linked againstlibatomic.so.1(visible inldd). The default Debian 12 WSL image doesn't includelibatomic1, so the binary can't start and staging fails. - T3 then falls back to the mounted Windows server tree (
%USERPROFILE%\.t3\userdata\wsl-server-tree\<version>), which only contains the win32 native bindings (@yuuang/ffi-rs-win32-*), so the backend crashes on the missing Linux binding and gets restarted in a loop.
The Node version was fine here (v24.21.0 was selected), so this is not the #3611 problem.
Fix
sudo apt-get update sudo apt-get install -y libatomic1Then quit T3 Code completely (including the tray icon) and start it again. You can check that the staged runtime works with:
~/.t3/wsl-runtime/sha256-*/t3 --versionGotcha: if apt refuses with "Unmet dependencies" because of some other broken package (in my case a half-installed
google-chrome-stable), apt won't install anything until that's resolved. Runsudo apt --fix-broken installor remove the broken package first.Suggestion: "archive does not contain a working t3 executable" hides the real loader error. Surfacing the stderr of the probe (e.g.
error while loading shared libraries: libatomic.so.1) or checking forlibatomic.so.1during preflight would make this self-explanatory.It is not possible to use
t3 codein WSL: the process of connecting to WSL never completes. This error persists even if you completely uninstallt3 codeand reinstall it.11. It is not possible to use
t3 codein WSL: the process of connecting to WSL never completes. This error persists even if you completely uninstallt3 codeand reinstall it.
https://github.com/pingdotgg/t3code/issues/14393#issuecomment-6081108422
https://github.com/pingdotgg/t3code/issues/14393#issuecomment-6081108422
almost same issue, but on Surface Laptop, which runs on ARM. It keeps looping back to this:
Cannot find module '@yuuang/ffi-rs-linux-arm64-gnu'\nRequire stack:\n- /mnt/c/Users/XXX/.t3/userdata/wsl-server-tree/0.1.1/node_modules/ffi-rs/index.jsbut I can't install the package obviously, it should have been
@yuuang/ffi-rs-win32-x64-msvcSame symptom here on T3 Code 0.0.45 (Windows 11, WSL 2.6.1, Debian 12 bookworm). Root cause was a missing
libatomic1package in the distro. Posting the full chain in case it helps others.Symptoms
- Stuck on "Connecting to WSL…" forever
server-child.logloops on:Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu'(require stack inwsl-server-tree/0.0.45/node_modules/ffi-rs/index.js)desktop.trace.ndjson:Could not stage the WSL runtime; launching from the mounted server tree instead.with reasonWSL runtime installation failed (exit 1): WSL runtime archive does not contain a working t3 executable
What's actually happening
- The staged runtime binary
~/.t3/wsl-runtime/sha256-…/t3is dynamically linked againstlibatomic.so.1(visible inldd). The default Debian 12 WSL image doesn't includelibatomic1, so the binary can't start and staging fails. - T3 then falls back to the mounted Windows server tree (
%USERPROFILE%\.t3\userdata\wsl-server-tree\<version>), which only contains the win32 native bindings (@yuuang/ffi-rs-win32-*), so the backend crashes on the missing Linux binding and gets restarted in a loop.
The Node version was fine here (v24.21.0 was selected), so this is not the #3611 problem.
Fix
sudo apt-get update sudo apt-get install -y libatomic1 Then quit T3 Code completely (including the tray icon) and start it again. You can check that the staged runtime works with:
~/.t3/wsl-runtime/sha256-*/t3 --version Gotcha: if apt refuses with "Unmet dependencies" because of some other broken package (in my case a half-installed
google-chrome-stable), apt won't install anything until that's resolved. Runsudo apt --fix-broken installor remove the broken package first.Suggestion: "archive does not contain a working t3 executable" hides the real loader error. Surfacing the stderr of the probe (e.g.
error while loading shared libraries: libatomic.so.1) or checking forlibatomic.so.1during preflight would make this self-explanatory.That didn't help.
I already had the libatomic1 package installed.
juliusmarminge added labelsneeds more info
juliusmarminge removed labelsneeds more info
Same symptom here on T3 Code 0.0.45 (Windows 11, WSL 2.6.1, Debian 12 bookworm). Root cause was a missing
libatomic1package in the distro. Posting the full chain in case it helps others. Symptoms- Stuck on "Connecting to WSL…" forever
server-child.logloops on:Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu'(require stack inwsl-server-tree/0.0.45/node_modules/ffi-rs/index.js)desktop.trace.ndjson:Could not stage the WSL runtime; launching from the mounted server tree instead.with reasonWSL runtime installation failed (exit 1): WSL runtime archive does not contain a working t3 executable
What's actually happening
- The staged runtime binary
~/.t3/wsl-runtime/sha256-…/t3is dynamically linked againstlibatomic.so.1(visible inldd). The default Debian 12 WSL image doesn't includelibatomic1, so the binary can't start and staging fails. - T3 then falls back to the mounted Windows server tree (
%USERPROFILE%\.t3\userdata\wsl-server-tree\<version>), which only contains the win32 native bindings (@yuuang/ffi-rs-win32-*), so the backend crashes on the missing Linux binding and gets restarted in a loop.
The Node version was fine here (v24.21.0 was selected), so this is not the #3611 problem. Fix sudo apt-get update sudo apt-get install -y libatomic1 Then quit T3 Code completely (including the tray icon) and start it again. You can check that the staged runtime works with: ~/.t3/wsl-runtime/sha256-*/t3 --version Gotcha: if apt refuses with "Unmet dependencies" because of some other broken package (in my case a half-installed
google-chrome-stable), apt won't install anything until that's resolved. Runsudo apt --fix-broken installor remove the broken package first. Suggestion: "archive does not contain a working t3 executable" hides the real loader error. Surfacing the stderr of the probe (e.g.error while loading shared libraries: libatomic.so.1) or checking forlibatomic.so.1during preflight would make this self-explanatory.That didn't help.
I already had the libatomic1 package installed.
Clarification.
My work environment:
- Windows 11 Pro, 26H2, 26300.9711
- WSL: Ubuntu 26.04.1 LTS, 6.18.54.1-microsoft-standard-WSL2
I used to run
t3 codein a Windows environment. Then I chose WSL as my backend, and since thent3 codehasn't worked even in Windows: when I launch the app, a small window appears that says "Connecting to WSL...". This process never completes—the app doesn't launch even in a Windows environment.Same symptom here on T3 Code 0.0.45 (Windows 11, WSL 2.6.1, Debian 12 bookworm). Root cause was a missing
libatomic1package in the distro. Posting the full chain in case it helps others.Symptoms
- Stuck on "Connecting to WSL…" forever
server-child.logloops on:Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu'(require stack inwsl-server-tree/0.0.45/node_modules/ffi-rs/index.js)desktop.trace.ndjson:Could not stage the WSL runtime; launching from the mounted server tree instead.with reasonWSL runtime installation failed (exit 1): WSL runtime archive does not contain a working t3 executable
What's actually happening
- The staged runtime binary
~/.t3/wsl-runtime/sha256-…/t3is dynamically linked againstlibatomic.so.1(visible inldd). The default Debian 12 WSL image doesn't includelibatomic1, so the binary can't start and staging fails. - T3 then falls back to the mounted Windows server tree (
%USERPROFILE%\.t3\userdata\wsl-server-tree\<version>), which only contains the win32 native bindings (@yuuang/ffi-rs-win32-*), so the backend crashes on the missing Linux binding and gets restarted in a loop.
The Node version was fine here (v24.21.0 was selected), so this is not the #3611 problem.
Fix
sudo apt-get update sudo apt-get install -y libatomic1 Then quit T3 Code completely (including the tray icon) and start it again. You can check that the staged runtime works with:
~/.t3/wsl-runtime/sha256-*/t3 --version Gotcha: if apt refuses with "Unmet dependencies" because of some other broken package (in my case a half-installed
google-chrome-stable), apt won't install anything until that's resolved. Runsudo apt --fix-broken installor remove the broken package first.Suggestion: "archive does not contain a working t3 executable" hides the real loader error. Surfacing the stderr of the probe (e.g.
error while loading shared libraries: libatomic.so.1) or checking forlibatomic.so.1during preflight would make this self-explanatory.The fix worked for me. Thanks!
Still reproducible on 0.1.2 (Windows 11 26200, WSL Ubuntu 24.04.3 x86_64, system Node v22.23.4). The default Ubuntu 24.04 WSL image here didn't have
libatomic1, so this hits a stock install, not just 22.04/Debian.Since #21658 the real reason does reach
desktop.trace.ndjson, but only there. The UI still shows "Connecting to WSL (Ubuntu)" indefinitely:# desktop.trace.ndjson, every attempt "Could not stage the WSL runtime; launching from the mounted server tree instead." reason: "WSL runtime installation failed (exit 1): .../t3: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory WSL runtime archive does not contain a working t3 executable" # server-child-wsl_Ubuntu.log, every restart (exit code=1) Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu' - /mnt/c/Users/<me>/.t3/userdata/wsl-server-tree/0.1.2/node_modules/ffi-rs/index.jsRestarts after preflight are still uncapped on current
main(242d00cd34). The exit goes throughscheduleRestartinapps/desktop/src/backend/DesktopBackendManager.tswith only the delay capped.Workaround confirmed:
sudo apt-get update && sudo apt-get install -y libatomic1in the distro, then restart T3 Code. The staged runtime then installs and starts, and the legacywsl-server-treeis cleaned up.Another way into the mounted-tree fallback, on x64 with
libatomic1installed: a busy distro. The staged runtime is installed and works, but its preflight probe times out, so the desktop falls back to the mounted server tree. That tree ships only the win32ffi-rsbindings, so the backend dies.Environment
- Windows 11 (10.0.26200), WSL 3.0.3.0, Ubuntu 24.04.5 x86_64, Node v26.13.0,
libatomic114.2.0 installed - T3 Code (Nightly) desktop
0.1.9-nightly.20261110.4452,wslOnly: true - Load average about 20 inside the distro at the time, from unrelated test jobs
Sequence (UTC, from
desktop.trace.ndjsonandserver-child.log)- 08:06:34, 08:08:30 and 08:09:01:
desktop.backendConfiguration.wslPreflightloggedThe staged WSL runtime did not start; retrying from the mounted server tree.with reasonWSL backend preflight timed out while probing for the staged runtime. WSL may be slow to start; retry, or check that the distro is healthy.The staged runtime for this version (~/.t3/wsl-runtime/sha256-533f…/t3) was already installed, and had run at 07:52 and 08:01. Those two runs exited with code 78 only because a background service held the T3 home, which was stopped before 08:06. - 08:06:34 to 08:07:54: the desktop extracted
server.asartoC:\Users\<user>\.t3\userdata\wsl-server-tree\0.1.9-nightly.20261110.4452. - 08:10:12: the backend started from that tree and exited with code 1:
Error: Cannot find module '@yuuang/ffi-rs-linux-x64-gnu' Require stack: - /mnt/c/Users/<user>/.t3/userdata/wsl-server-tree/0.1.9-nightly.20261110.4452/node_modules/ffi-rs/index.jsnode_modules/@yuuangin the tree holds onlyffi-rs-win32-ia32-msvcandffi-rs-win32-x64-msvc. - 08:10:13:
primary backend failing to start, thenstartup recovery window shown. So on this build the app no longer stays on the splash. - 08:12:33:
Could not stage the WSL runtime; launching from the mounted server tree instead.with reasonWSL runtime installation timed out. Check that the distro has free disk space, then retry.The distro had 437 GB free, and the Windows drive holding its virtual disk had 23 GB. - 08:13: I quit and reopened the app. At 08:14:19 the staged runtime started, the token request returned 200 and the main window opened. I changed nothing in between.
So a timeout on a slow but healthy distro sends the app to a fallback that can't start on any Linux architecture, because the tree has no Linux bindings for
ffi-rs(nor, as noted above, for@napi-rs/keyringor@ff-labs/fff-node). In this case, retrying the staged runtime with a longer timeout would have worked, while the fallback never could.- Windows 11 (10.0.26200), WSL 3.0.3.0, Ubuntu 24.04.5 x86_64, Node v26.13.0,
Hi! t3-code still doesn't work with WSL.
After installing it on Windows, a window briefly appears that says: "Connecting to WSL...", followed by a screen with the T3 logo.
Before installation, I completely removed t3-code from Windows and WSL.
After that (about 1 minute later), an error window appears: "T3 Code could not start The server started but did not become ready in time. Get a different version from the releases page."
This window displays some data, but it’s unclear what it is:
5_Projections', '6_ProjectionThreadSessionRuntimeModeColumns', '7_ProjectionThreadMessageAttachments', '8_ProjectionThreadActivitySequence', '9_ProviderSessionRuntimeMode', '10_ProjectionThreadsRuntimeMode', '11_OrchestrationThreadCreatedRuntimeMode', '12_ProjectionThreadsInteractionMode', '13_ProjectionThreadProposedPlans', '14_ProjectionThreadProposedPlanImplementation', '15_ProjectionTurnsSourceProposedPlan', '16_CanonicalizeModelSelections', '17_ProjectionThreadsArchivedAt', '18_ProjectionThreadsArchivedAtIndex', '19_ProjectionSnapshotLookupIndexes', '20_AuthAccessManagement', '21_AuthSessionClientMetadata', '22_AuthSessionLastConnectedAt', '23_ProjectionThreadShellSummary', '24_BackfillProjectionThreadShellSummary', '25_CleanupInvalidProjectionPendingApprovals', '26_CanonicalizeModelSelectionOptions', '27_ProviderSessionRuntimeInstanceId', '28_ProjectionThreadSessionInstanceId', '29_ProjectionThreadDetailOrderingIndexes', '30_ProjectionThreadShellArchiveIndexes', '31_AuthAuthorizationScopes', '32_AuthPairingProofKeyThumbprint', '33_ProjectionThreadsSettled', '34_ProjectionThreadsSnoozed', '35_ProjectionThreadTitleRegeneration', '36_ProjectionThreadsPinned', '37_ProjectionTurnsKeysetIndex', '38_ProjectionThreadsPinOrderKey', '39_ProjectionProjectsDefaultThreadEnvMode', '40_ProjectionProjectFaviconPath', '41_AuthSessionClientConnection', '42_ProjectionThreadLinkedPullRequest', '43_ProjectionThreadsUnsettledAt', '44_ClearAutomaticProjectModelDefaults', '45_ProjectionProjectsAutoPull', '46_RepairAutomaticSettlementTimestamps', '47_ProjectionProjectIcon', '48_ProjectionThreadBranchPullRequest', '49_ProjectionThreadsActiveOrderKey', '50_ProjectionThreadPullRequests', '51_ProjectionThreadMessageContext', '52_ProjectionThreadTitleState', '53_PullRequestFilesViewed', '54_ProjectionThreadsAutoSettleDisabledAt', '55_OrchestrationV2', '56_RemoveRedundantProjectionIndexes', '57_ScheduledTaskWebhooks', '58_WebhookRelayDeliveries', '59_McpAppModelContext', '60_ThreadSnapshotWindowIndexes', '61_PullRequestReviewGuides', '62_ThreadFailureLookupIndex', '63_DropUnusedV1Projections', '64_CanonicalizeThreadPullRequestLinks', '65_CodexUsageNativeTurnIndex', '66_RepairClientSettlementTimestamps', '67_WebhookDedupe', '68_ShellStopRequestIndex', '69_ThreadMessageSearch', '70_PeerLinks', '71_PeerLinkFence', '72_WaitingLinkRequestIndex', '73_ActiveTurnItemIndexes', '74_ExcludeAttachmentPlaceholdersFromSearch', '75_SubagentDeliveryState', '76_ProjectionProjectsPinArchive', '77_RepairBooleanSettledOverride', '78_DropOrchestrationEventCorrelationIndex', '79_DelegatedRecoveryIndexes', '80_ScheduledTaskThreadMode', '81_ProjectionMessageSearchText', '82_TurnItemConversationIndex', '83_CommandReadIndexes', '84_LastExecutedRunIndex', '85_TurnItemCounts', '86_QueuedTurnInputIndex', '87_ProjectionProjectsCustomTitle', '88_TurnItemTypeStatusIndex', '89_ShellThreadReadIndexes', '90_AuthConnectDevices', '91_AuthConnectDeniedRequests', '92_QueuedTurnInputIndexJsonValid', '93_ProviderTurnAttemptIndex', '94_TurnItemMessageOrdinalIndex', '95_TurnItemInlineWorkOutput', '96_RepairStaleTitleRegeneration', '97_IssueTrackerBindings', '98_ActiveShellIndexIndexes', '99_BackgroundRecoveryIndexes', '100_TurnStartReadIndexes', ... 2 more items ] [17:08:51.206] INFO (#585): Listening on http://0.0.0.0:3773 [17:08:51.226] INFO (#582): agent activity publishing standby; waiting for T3 Connect link reconciliation [17:08:51.227] INFO (#582): V2 orchestration recovery completed { terminalizedRuns: 0, stoppedSessions: 0, closedRequests: 0, retiredEffects: 0, requeuedEffects: 0 }t3-code: v0.1.11 WSL version: 3.0.5.0 Kernel version: 6.18.58.1-1
Sign in to join this conversation.
Triage#
Confirmed on current
main. In wsl-only mode, the "Connecting to WSL…" splash stays up until the primary backend reports ready, and it has no controls, so a backend that never becomes ready leaves you no way back to Settings. Preflight failures are already capped (MAX_PREFLIGHT_FAILURE_ATTEMPTS), andhandlePrimaryPreflightFailurefalls back to Windows. A backend that passes preflight and then dies isn't capped:scheduleRestartonly limits the delay (500ms, doubling, up to 10s), never the number of attempts, which matches the ~10s restart loop. A process that stays up but never answers is the other loop:probeReadinesskeeps retrying on a 60s budget for as long as the child is alive.The two crashes in your log explain why preflight passes and the process still exits:
The staged runtime's readiness check runs
t3 --versionwith stderr discarded (runtime_entry_runs). Any dynamic-linker failure, including the missinglibatomic.so.1on Ubuntu 22.04, gets reported as "WSL runtime archive does not contain a working t3 executable", and the install falls through to the mounted server tree. That fitslibatomic1making./t3 --versionwork. The archive can be intact while the binary still can't run on that distro, and the linker error never reachesdesktop.trace.ndjson.The mounted tree is the Windows server sidecar (
server.asarextracted underwsl-server-tree), installed for win32, soffi-rs's optional@yuuang/ffi-rs-linux-x64-gnubinding isn't in it. Server startuprequires@ff-labs/fff-nodefromWorkspaceSearchIndex.ts, which loadsffi-rs, and Linux Node throwsMODULE_NOT_FOUND. The mounted-tree preflight onlyrequiresnode-pty(whose Linux prebuild ships inside that package), so preflight reports ready and the exit is treated as an unexpected crash rather than a preflight failure. The code comment saying this fallback is recoverable doesn't hold for this tree.This isn't a duplicate of open issue #3709 (login-shell Node older than 22.16 exits 0 before binding), closed issue #4535 (slow
/mnt/cboot; the readiness probe now retries while the process is alive), closed issue #5967 (same splash, but no logs), or open issue #13738 (dual mode with a healthy backend that Windows can't reach at the NAT address). Those can show the same splash, but the lockout here comes from an uncapped failure after preflight in wsl-only mode.An in-memory Windows fallback after repeated startup failures is the right recovery. It has the same shape as the non-fatal preflight path (
applyWslWindowsFallbackInMemory), sowslOnlystays set for the next launch. It needs to cover both loops: exits before ready, and a live process whose readiness probes keep failing (the iptables case). That fallback won't make the staged runtime run withoutlibatomic.so.1, and it won't make the Windows sidecar loadffi-rson Linux. Those are separate fixes.