orca icon indicating copy to clipboard operation
orca copied to clipboard

fix(windows): make the GPU fallback actually remove the GPU child, and stop WSL latching absent

Open OrcaWin opened this issue 4 months ago • 2 comments

What this fixes

Three Windows defects reproduced from shipped 1.4.156 / 1.4.158 / 1.4.159 crash reports.

1. The GPU-crash fallback never actually removed the GPU process (cluster D — 14 reports). maybeApplyGpuFallbackForThisLaunch called app.disableHardwareAcceleration() + --disable-gpu. Neither removes the GPU child — Chromium still spawns it to host Viz and merely drops the backend to software GL. So a GPU process being killed by a bad driver or an injected DLL kept dying after the fallback engaged, on every launch, for the life of that build (the marker is sticky per app/Electron version). Exit code -2147483645 = 0x80000003 = STATUS_BREAKPOINT, the signature of a debug break inside the GPU process.

The crash tails show the fallback failing in production — the GPU child dies again 1.3–1.9 s after gpu_fallback_applied, inside the fallback launch itself:

163a4f97 (v1.4.159)
10:11:40.801  app_started
10:11:40.802  gpu_fallback_applied (crashesInWindow=3)
10:11:41.303  main_window_created
10:11:42.677  process_gone_suppressed (source=child, processType=GPU, reason=crashed,
              exitCode=-2147483645, serviceName=GPU)

2. WSL vanished from the terminal picker after setup (user-reported). A successful-but-empty wsl --list --quiet was cached for the whole process lifetime (if (wslDistroCache) — [] is truthy). wsl --install exits successfully while the distro is still provisioning, so an early probe latched "no distros" until restart.

3. isWslAvailable() latched false on any failure. A bare catch { wslAvailableCache = false } with no TTL and no error classification. One slow wsl.exe activation disabled WSL for the entire session. isPwshAvailable in the same repo already had the correct retryable shape; isWslAvailable was the odd one out.

Both WSL mechanisms produce the same reported symptom, so both are fixed here.


Fix evidence

The GPU fallback does not work — measured natively

Harness mirroring maybeApplyGpuFallbackForThisLaunch, run against this repo's own Electron 43.1.0 on Windows 11 (10.0.26200), the same Electron the crashing builds shipped:

{"mode":"baseline",      "gpuProcessCount":1,"types":{"Browser":1,"GPU":1,"Utility":1,"Tab":1},"gpuCompositing":"enabled"}
{"mode":"orca-fallback", "gpuProcessCount":1,"types":{"Browser":1,"GPU":1,"Utility":1,"Tab":1},"gpuCompositing":"disabled_software"}
{"mode":"proposed",      "gpuProcessCount":0,"types":{"Browser":1,      "Utility":1,"Tab":1},"gpuCompositing":"disabled_software"}

orca-fallback is disableHardwareAcceleration() + --disable-gpu — verbatim what shipped — and still leaves GPU: 1.

Isolating which switch is responsible:

{"mode":"no-rasterizer", "gpuProcessCount":1,...}   # + --disable-software-rasterizer
{"mode":"no-compositing","gpuProcessCount":1,...}   # + --disable-gpu-compositing
{"mode":"proposed",      "gpuProcessCount":0,...}   # + --in-process-gpu

--in-process-gpu is the only switch that removes the GPU child.

Rendering is not degraded

Page capture, pixel counted:

{"mode":"baseline","size":{"width":384,"height":235},"bluePixels":30000,"redPixels":60240,"painted":true,"gpuChildren":1}
{"mode":"proposed","size":{"width":384,"height":235},"bluePixels":30000,"redPixels":60240,"painted":true,"gpuChildren":0}

Pixel-identical, zero GPU children.

WebGL stays alive — this is why --disable-software-rasterizer is excluded

Adversarial review round 1 claimed that switch would kill xterm's WebGL renderer. It was right, and measured:

{"mode":"baseline",                     "gpuChildren":1,"webgl2":true, "renderer":"WebKit WebGL","drewBlue":true}
{"mode":"orca-shipped",                 "gpuChildren":1,"webgl2":true, "renderer":"WebKit WebGL","drewBlue":true}
{"mode":"proposed-with-rasterizer-off", "gpuChildren":0,"webgl2":false,"renderer":null,         "drewBlue":false}
{"mode":"minimal (disable-gpu+in-process-gpu)","gpuChildren":0,"webgl2":true,"renderer":"WebKit WebGL","drewBlue":true}

So the shipped set is exactly ['disable-gpu', 'in-process-gpu']: zero GPU children and WebGL intact. The entire delta from HEAD is adding one switch.

Failing test before → passing after

GPU switches — module seeded with the shipped ['disable-gpu']:

 FAIL  src/main/startup/gpu-fallback-switches.test.ts > keeps every GPU backend out of the process that now hosts Viz
AssertionError: expected [ 'disable-gpu' ] to deeply equal [ 'disable-gpu', …(3) ]
  [
    "disable-gpu",
-   "disable-software-rasterizer",
-   "disable-gpu-compositing",
-   "in-process-gpu",
  ]
 Test Files  1 failed (1)
      Tests  2 failed | 1 passed (3)

WSL — before:

 FAIL  src/main/wsl.test.ts > retries asynchronous discovery after wsl.exe reports no distros yet
 FAIL  src/main/wsl.test.ts > retries synchronous discovery after wsl.exe reports no distros yet
 FAIL  src/main/wsl.test.ts > retries availability after a probe timeout instead of latching false
 FAIL  src/main/wsl.test.ts > cannot report unavailable while distros are known
AssertionError: expected [] to be null
 Test Files  1 failed (1)
      Tests  4 failed | 15 passed (19)

After, on the final commit:

$ pnpm vitest run --config config/vitest.config.ts src/main/wsl.test.ts src/main/startup/gpu-fallback-switches.test.ts
 Test Files  2 passed (2)
      Tests  33 passed (33)

$ pnpm run typecheck:node
> tsc --noEmit -p config/tsconfig.node.json      (clean)

$ npx oxlint src/main/wsl.ts src/main/wsl.test.ts src/main/startup/ src/main/index.ts
exit 0, no diagnostics

$ node config/scripts/check-max-lines-ratchet.mjs
max-lines ratchet OK — 354 grandfathered suppression(s), no new bypasses.

ELI5

Orca has a safety net: if your graphics chip crashes the app three times quickly, the next start is supposed to turn graphics acceleration off so the app can still run.

It didn't work. Turning off "acceleration" doesn't actually stop the app from launching a separate graphics helper program — it just tells that helper to do the work slowly in software instead. If something on your PC was killing that helper (a bad driver, or an antivirus/overlay hooking into it), it kept getting killed anyway. And once the safety net switched on it stayed on forever, so the app was permanently slower and still crashing. We now tell it to do the graphics work inside the main program with no helper at all, so there's nothing left to kill. Terminals keep their fast text rendering.

The WSL bugs are simpler. Orca asks Windows "which Linux systems do you have?" once and remembers the answer forever. If you asked while Windows was still installing one, the answer was "none" — and Orca believed that for the rest of the session, so WSL showed up during setup and then disappeared. Separately, if the "is WSL working?" check was slow even once, Orca wrote off WSL entirely until you restarted. Now both answers are re-checked after a short wait instead of being taken as final.


Trade-offs and honest downsides

--in-process-gpu widens the crash blast radius. This is the main thing to review. Moving Viz into the browser process means a GPU-layer fault now takes down the whole app instead of a recoverable child, and app.on('child-process-gone') to handleGpuChildCrash can never fire again, so we lose that telemetry channel exactly when it matters. Mitigating context:

  • It is scoped to the post-crash fallback only — verified across several review rounds. maybeApplyGpuFallbackForThisLaunch returns early on isServeMode, on non-win32, and on a missing marker; the marker is only written after 3 GPU crashes in 30s. A normal launch never sees it.
  • The crash tails show HEAD's fallback did not leave a usable app either — in 163a4f97 the renderer dies with the same STATUS_BREAKPOINT 1.4 s after main_window_created. So this is not "working app to crashing app"; it is "crashing app to hopefully not crashing app".
  • With --disable-gpu no vendor GL driver is loaded into the process now hosting Viz.
  • The applied switch list is recorded in the gpu_fallback_applied breadcrumb so a fallback-mode crash stays attributable.

Security note: SwiftShader now parses renderer-supplied WebGL command buffers inside the browser process, outside the GPU sandbox. That is a real reduction in isolation for users on this path, accepted here to keep terminals rendering. If reviewers prefer isolation over WebGL, adding --disable-software-rasterizer removes that surface entirely at the cost of dropping every terminal to the DOM renderer.

No auto-de-escalation. The marker is sticky per app/Electron version, and nothing clears it after a healthy run. If --in-process-gpu is itself unstable on some driver/DLL combination, the user crash-loops until the next release. Four review rounds flagged this; I deliberately did not build a self-heal mechanism in a crash-fix PR, because an under-tested startup-state machine is its own risk. Filed as the top follow-up.

WebGL context ceiling in fallback mode. The fallback path skips enableMainProcessGpuFeatures(), so max-active-webgl-contexts stays at Chromium's default 16 instead of 128. A user with more than 16 terminal panes gets context thrash. Pre-existing, not introduced here; a perf review verified the raised ceiling works fine under --in-process-gpu for +14 MB. Follow-up.

WSL probes now re-run. HEAD probed wsl.exe once per process; failures and empty results now re-probe on backoff windows. These are synchronous execFileSync handlers with a 5 s timeout, so on a host with a wedged wsl.exe the main thread can pay that cost once per window instead of once ever. Bounded by exponential backoff (distro list 15 s to a 5 min cap; availability 45 s / 10 min to a 30 min cap), and definitive answers (ENOENT, non-zero exit) take the long window. A dedicated perf review measured the common case — WSL installed with real distros — as 1 spawn per process, identical to HEAD.

Memory. --in-process-gpu moves ~155 MB into the main process at 20 panes, while the total process tree drops ~40 MB (one fewer process). Startup measured at +5 ms, inside run-to-run noise.


Adversarial review

14 rounds, each a fresh subagent with an explicitly skeptical brief. Rounds 12, 13 and 14 returned clean on blocking findings; several rounds used mutation testing and live concurrency probes.

# What it found
1 --disable-software-rasterizer kills WebGL (confirmed by measurement); docker-desktop-only machines would re-probe forever; empty cache stays null and silently kills the wsl-distro-missing repair prompt
2 The runtime resolver reads the getters, so my reconciliation was bypassed entirely; ETIMEDOUT caching nothing caused repeated 5 s main-thread blocks
3 Treating every failure as retryable destroyed the legitimate wsl-unavailable repair prompt — worse than the original bug; fixed by classifying errors
4 getCachedWslDistros latched [], hard-blocking projects as repair-required; the new breadcrumb used the non-durable recorder
5 Refuted round 4 — expiring the getter to null fails open and silently spawns wsl.exe -d <distro>; reverted (adjudicated in favour of round 5)
6 wsl --status can exit non-zero transiently during WSL servicing, which my classifier latched permanently
7 Clean on blocking; dead backoff branch (base equal to cap) and a doc stating something now false
8 Clean on blocking; latent NaN path in the new platform re-check
9 Clean on blocking; cosmetic only
10 Mutation testing: the "resets the backoff" test was vacuous and guarded an unreachable branch
11 Concurrency probes: overlapping async probes can re-enter the cache — a late empty result erased a good distro list and escalated the backoff to 5 min
12 Clean on blocking; test seeder silently no-op'd; concurrent empties multiplied the streak
13 Clean on blocking; streak-0 underflow produced a 7.5 s window instead of the 15 s floor
14 Clean. Only note: the round-13 fix lacked a test — added, and mutation-verified to fail without the fix

A separate performance review (also a subagent, with real measurements) found one genuine regression I had introduced — docker-desktop-only machines re-probing every 15 s forever — which is fixed with exponential backoff.

Note: there is no /perf skill available in this environment, so I ran a perf-focused review subagent rather than that command. Flagging so the difference isn't misread.


Crash reports addressed

Cluster D — D-win-gpu-crash, 14 reports, all exitCode=-2147483645 (0x80000003), across Windows 10.0.19045 / 10.0.26100 / 10.0.26200:

5c90f869-ea34-45df-8f69-d472c207e3d6, 750828e2-7ec9-4398-8583-8e97644fd391, 0897287c-b41b-4a3a-9ae1-6154e9611d98, 9db1784f-853c-4c8c-8d81-7d6cadca5af9, 163a4f97-c854-4779-88a2-4dbdeb2f7711, 2a4d0b5f-68f9-49e4-91b0-6913a35fa41b, 18f98a04-b376-4a70-9735-b5339950624c, 3d943502-737e-4bd5-85e5-389174ca5287, 998c88ed-981d-4d64-82f0-51cff4f582ec, af97fb11-6aed-42d7-bd59-0fab30ff85a7, 54812a82-f43b-477a-87a5-4d86980ef260, 3dbae514-b1d0-4f0b-aa4a-5da507110e02, 38fdc2cc-4f43-4791-bccc-23d4e1cca32f, 46f106dd-fa24-4567-ac63-65b3b3871c15

gpu_fallback_applied appears in reports from all three shipped versions: 5c90f869 (1.4.156), 750828e2 (1.4.156), 0897287c (1.4.158), 163a4f97 (1.4.159).

WSL — user-reported via the help menu (crash report not captured), Windows 10.0.26200, 1.4.159: the WSL option appeared during install and then disappeared from the terminal picker, with WSL no longer accessible.

All of these came from shipped builds 1.4.156 / 1.4.158 / 1.4.159. None of it is fixed on HEAD — the three existing crash-reporting commits (5d17bd8f3, ab1c37889, ae614443b) are all ancestors of v1.4.159-rc.0, i.e. they already shipped in 1.4.159, which still produces this cluster.


Pre-existing failures (not introduced here)

These fail on clean HEAD too — I verified each by stashing the change and re-running:

  • src/main/ipc/pty.test.ts — "leaves the sequenced startup command alone when provenance is verified" (Codex resume argv). With src/main/wsl.ts stashed: 1 failed | 372 passed | 18 skipped (391) — same failure.
  • src/main/startup/desktop-startup-ordering.test.ts and src/main/startup/serve-desktop-activation-wiring.test.ts — source-text ordering assertions. With src/main/index.ts stashed: 2 failed | 9 passed (11) — same two.
  • src/main/runtime/* (7), agent-hooks/installer-utils (3, Windows symlink EPERM), ai-vault/session-scanner-values (1, path separator) — environmental, verified identical on clean HEAD.

Follow-ups worth filing

  1. Auto-de-escalate the GPU fallback marker after a fallback launch dies early, so a bad fallback can't brick startup until the next release.
  2. Hoist max-active-webgl-contexts and the IntensiveWakeUpThrottling opt-out out of the skipped enableMainProcessGpuFeatures().
  3. In-flight dedupe for listWslDistrosAsync, and a force bypass for a user-initiated distro refresh.

Independent native verification (real Windows 11 hardware, 2026-07-29)

Re-verified from scratch on the machine the crash reports came from — a fresh harness, not the original one. Electron 43.1.0 / Chrome 150.0.7871.47, run against this repo's own node_modules/electron/dist/electron.exe. Every claimed measurement reproduced.

GPU child count per switch set. appMetrics.GPU is app.getAppMetrics(); os gpu-process is ground truth from Get-CimInstance Win32_Process, walking the browser process's descendants and reading their --type= switch — so this does not rely on Electron's own accounting:

variant appMetrics.GPU os --type=gpu-process WebGL2
baseline (normal launch) 1 1 true (ANGLE/Intel D3D11)
orca-fallback (what shipped) 1 1 true (SwiftShader)
proposed (+ --in-process-gpu) 0 0 true (SwiftShader)
+ --disable-software-rasterizer 0 0 false
  • The core claim holds: the shipped fallback leaves the GPU child alive (1), the proposed switch set removes it (0). Under proposed the only remaining children are the network utility and the renderer — no viz-compositor or utility process reappears, so Viz genuinely moved in-process rather than being relabelled.
  • gpuFeatureStatus.gpu_compositing is disabled_software for both fallback variants, confirming the shipped switch set did drop to software GL while still paying for a GPU child to be killed.
  • The last row empirically confirms why --disable-software-rasterizer is excluded: WebGL dies (webgl: disabled_off, getContext('webgl2') → null), which would drop every terminal to the DOM renderer.

Rendering is not degraded. An offscreen 800x600 probe (canvas2d gradient + alpha-blended circles

  • antialiased text, plus a WebGL2 interpolated triangle) hashed over the raw BGRA bitmap from the paint event — encoder-independent, so this is a true pixel comparison:
orca-fallback  bitmapSha256 = 196448bd94430bee1dcf1f1b264780a0be07bdec52f29a6448ad3e0aa814a3de
proposed       bitmapSha256 = 196448bd94430bee1dcf1f1b264780a0be07bdec52f29a6448ad3e0aa814a3de
1920000 bytes, 800x600 — byte-for-byte identical

The captured frame was inspected to confirm it renders real content, so the match is not a blank-frame artifact.

--in-process-gpu is scoped to the post-crash fallback only. applyGpuFallbackCommandLineSwitches has exactly one production call site, inside maybeApplyGpuFallbackForThisLaunch, behind three sequential gates: isServeMode → return; process.platform !== 'win32' → return; no active marker (which itself requires win32 plus matching app and Electron version) → return. The switch resolver independently returns [] for any non-win32 platform, and in-process-gpu appears nowhere else in the tree. A normal launch cannot acquire it.

WSL, against this machine's real wsl.exe. This machine happens to be in exactly the bug state: wsl --status exits 0 while wsl --list --quiet returns empty with exit 0.

NATIVE isWslAvailable() = true
NATIVE listWslDistros() = []          (getCachedWslDistros() = [] — readable, not null)
NATIVE first probe: 22.8ms (real wsl.exe spawn)
NATIVE cached call: 0.0ms (no spawn — rate bounded)
NATIVE re-probe after 15.5s: 26.5ms (genuinely re-spawned)

With shouldReuseCachedWslDistros reverted to the old empty-latching form, the same real-hardware run gives re-probe after 15.5s: 0.0ms — no spawn, latched for the session. That is the reported bug reproduced and fixed on real hardware.

Tests are behavioural, not tautological — each fix was neutered and the guards confirmed to fail:

mutation result
switch set back to ['disable-gpu'] 1 failed
drop the win32 guard in the switch resolver 1 failed
restore the empty-list latch (wslDistroCache !== null) 7 failed
latch availability false on any failure 5 failed
remove the new cache-coherence drop 2 failed

One issue found and fixed in this round

The two WSL caches expire independently and getWslRepairReason checks availability first. A definitive availability failure (numeric exit status or ENOENT) is held 10-30min, while the distro list re-probes from 15s. So if WSL was installed or repaired mid-session, wsl --list --quiet could successfully return Ubuntu while wsl-unavailable kept being reported for up to half an hour — the same latch class this PR fixes, surviving in the gap between the two caches.

A non-empty distro list proves wsl.exe ran, so it now drops a negative availability cache and lets the next call re-probe. Deliberately scoped to non-empty lists: those are cached for the process lifetime, so this can never re-spawn the blocking 5s probe more than once. An empty list keeps its failure cache, since it re-probes on a 15s-to-5min schedule.

Housekeeping

  • Rebased onto latest origin/main (32926bc83), no conflicts. The alarming 784 files / -84118 figure was a two-dot git diff origin/main artifact — the branch was simply 48 commits behind. The real contribution is and was 6 files, +737 / -37. Nothing unrelated is reverted.
  • max-lines ratchet clean (no new bypasses); oxlint --type-aware clean on all changed files; typecheck passes.
  • desktop-startup-ordering and serve-desktop-activation-wiring fail identically on pristine origin/main with zero PR content present — confirmed by checking main out directly, not just by stashing. Not attributable to this PR.

OrcaWin avatar Jul 29 '26 04:07 OrcaWin

Review Change Stack

📝 Walkthrough

Walkthrough

Windows GPU fallback now applies platform-specific switches through a reusable helper, records applied switches in crash breadcrumbs, and persists fallback state after restart selection. WSL distro and availability detection add shared parsing, retry backoff, concurrent-probe protection, structured cache handling, and expanded tests. Renderer terminal capability reads reconcile contradictory WSL results and periodically refresh eligible local consumers. Documentation updates describe the revised WSL cache semantics.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the two primary fixes: removing the GPU child in Windows fallback and preventing WSL from latching absent.
Description check ✅ Passed The description covers the required summary, screenshots note, testing, AI review, security audit, and platform-specific notes with relevant implementation details.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • [ ] Create stacked PR
  • [ ] Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot] avatar Jul 29 '26 05:07 coderabbitai[bot]

Greptile Summary

This PR fixes two independent Windows-only bugs: the GPU child process was not actually removed by the previous fallback (only its backend changed), and WSL availability/distro state was latched permanently on first failure, hiding WSL from the terminal picker after provisioning or a cold boot.

  • GPU Safe Graphics Mode: writeGpuFallbackMarker is moved to after user consent, so "Keep Running" and dialog errors leave graphics settings unchanged. Three new command-line switches (--disable-gpu, --disable-software-rasterizer, --in-process-gpu) replace the single old one; the last is the only switch that actually removes Chromium's GPU child process (confirmed by measurement on Electron 43.1.0).
  • WSL cache overhaul: Both the distro-list and availability caches now use bounded exponential backoff (15 s → 5 min and 45 s → 30 min) instead of process-lifetime latching. Probe sequence numbers prevent out-of-order async results from overwriting a newer non-empty list. A successful distro discovery clears a stale availability failure so getWslRepairReason doesn't report wsl-unavailable over a working WSL.
  • Renderer refresh: Long-lived local UI consumers gain a 30-second polling interval that fires until both wslAvailable and a non-empty distro list are confirmed, covering mid-session provisioning without a restart.

Confidence Score: 5/5

Safe to merge — both the GPU fallback and WSL cache fixes address real, measured production defects with targeted, well-tested changes.

The GPU fallback marker-ordering fix is structurally correct: marker write is gated behind explicit user consent and a successful file write, so neither Keep Running nor a dialog error can silently engage Safe Graphics Mode. The WSL cache refactor sequence-number scheme for out-of-order async probe results, the armWslDistroListRetry early-return guard preventing concurrent catches from shortening a longer backoff window, and dropStaleWslAvailabilityFailure clearing the availability latch on successful distro discovery all hold up under the test matrix of 138 cases. No logic errors or correctness gaps were found.

Files Needing Attention: No files require special attention. src/main/wsl.ts is the most intricate file (sequence numbers + two independent backoff tables) but is backed by the most thorough tests.

Important Files Changed

Filename Overview
src/main/wsl.ts Major refactor: distro-list and availability caches now use bounded exponential backoff instead of process-lifetime latching. Sequence numbers prevent out-of-order async probes from overwriting newer non-empty results. dropStaleWslAvailabilityFailure correctly reconciles a stale availability failure when a distro list succeeds.
src/main/index.ts Correct fix: writeGpuFallbackMarker now called only after user explicitly chooses restart, preventing the marker from being written on Keep Running or dialog errors. GPU fallback switches extracted to applyGpuFallbackCommandLineSwitches and applied switch names recorded in the crash breadcrumb.
src/main/startup/gpu-fallback-switches.ts New file extracting the three GPU fallback switches into a testable unit; Windows-only guard is correct. Return value enables the breadcrumb in index.ts.
src/renderer/src/lib/windows-terminal-capabilities.ts Adds a 30-second periodic refresh interval to the local-only path that fires until both wslAvailable and wslDistros.length > 0 are satisfied; interval is correctly cleared on unmount. SSH and remote targets are excluded.
src/renderer/src/lib/windows-terminal-capability-read.ts Adds reconcileWslAvailability to handle the race where the parallel availability probe read a stale negative while the distro probe succeeded; re-probes only when !available && distros.length > 0.
src/main/wsl-distro-retry.ts Tiny helper for the exponential-backoff formula (15s x 2^(streak-1), capped at 5 min). Extracted for testability.
src/main/wsl-distro-list-output.ts Extracted parseWslDistros (NUL-stripping + line splitting) and filterUserWslDistros (docker-desktop exclusion) from wsl.ts for independent testing.
src/main/crash-reporting/gpu-fallback-restart-prompt.ts Dialog text updated to Restart in Safe Graphics Mode with accurate description of what the mode disables; matched by the test.

Reviews (3): Last reviewed commit: "fix(wsl): make capability refresh cleanu..." | Re-trigger Greptile

greptile-apps avatar Jul 29 '26 05:07 greptile-apps