Files
t3code/apps
Josh Gratton 6ac6dcc1c8 desktop: surface preflight-pending WSL backends as Connecting
getLocalEnvironmentBootstraps dropped secondary (WSL) instances whose
config carried a preflightFailure (or had no config yet), so the sidebar
"Connecting..." indicator -- which is driven by the bootstrap list --
never appeared while a dual-mode WSL backend was retrying transient
preflight.

Emit such secondaries as pending bootstraps with null endpoints (and no
token) instead of dropping them. The renderer surfaces them as
"Connecting..." (the Sidebar bootstrap-list banner) and, because the
endpoints are null, never dials the dead port -- so the
/api/auth/bootstrap/bearer error cycles the drop avoided stay avoided.
The primary instance is still skipped while not ready: it is same-origin
with no connecting affordance to surface.

Addresses the Cursor "WSL sidebar misses preflight boot" finding.
2026-06-21 12:46:42 -04:00
..