Skip to content

The agent that grows with you

merge: refresh desktop fixes without reviving retired update checks

ethernetefaa819ee981
diff --cc apps/desktop/electron/main.ts
index a48a7bfdacc,c80a0388290..ebdfed9a28b
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@@ -10314,9 -11419,14 +10314,13 @@@ function profileRouteOptions
// resolveProfileBackendRoute(). An empty / unknown profile resolves to the
// primary, so legacy callers are unchanged.
async function ensureBackend(
- profile,
+ profile: string | null | undefined,
- opts: { passive?: boolean; request?: { method?: string; path?: string }; spawnPriority?: LocalBackendSpawnPriority } = {}
+ opts: {
+ passive?: boolean
+ request?: { method?: string; path?: string }
+ spawnPriority?: LocalBackendSpawnPriority
+ } = {}
-) {
- localBackendLifecycle.assertCanStart()
+): Promise<Awaited<ReturnType<typeof backendConnectionState.getPromise>>> {
const key = profile && String(profile).trim() ? String(profile).trim() : primaryProfileKey()
const spawnPriority = spawnPriorityFrom(opts.spawnPriority)
poolRetirer.assertCanOpen(key, spawnPriority)