Files
t3code/apps
Josh Gratton b62348b0fa fix(desktop): hide preflight-failed bootstraps + serialize WSL reconcile
Two review-feedback fixes:

- getLocalEnvironmentBootstraps was exposing the bootstrap info (URL,
  token) for backends whose configResolve produced a preflightFailure.
  Those backends never actually listen — the manager calls
  scheduleRestart instead of spawning — so the renderer would pick up
  a phantom URL, POST to /api/auth/bootstrap/bearer, fail, and register
  a broken saved-env. Skip them in the IPC handler.

- wslBackend.reconcile read pool state and settings non-atomically.
  The bootstrap fork + an in-flight setWslDistro IPC could both
  observe "no WSL instance registered", both proceed to startNew with
  different distros, and leave a stranded instance behind. Wrap the
  reconcile body in a single-permit semaphore so concurrent callers
  queue.
2026-05-18 13:18:55 -04:00
..
2026-05-18 12:19:07 -04:00