diff --git a/apps/desktop/src/lib/session-owner-stamp.ts b/apps/desktop/src/lib/session-owner-stamp.ts index 09a6b8a58d..ca7a8aec12 100644 --- a/apps/desktop/src/lib/session-owner-stamp.ts +++ b/apps/desktop/src/lib/session-owner-stamp.ts @@ -17,7 +17,10 @@ import type { SessionInfo } from '@/types/hermes' * row already routes correctly and a `local` tag would only pin it against * the fail-closed owner resolution for no benefit. */ -export function stampRowsWithOwningConnection(sessions: SessionInfo[], connectionId: null | string | undefined): SessionInfo[] { +export function stampRowsWithOwningConnection( + sessions: SessionInfo[], + connectionId: null | string | undefined +): SessionInfo[] { const owner = String(connectionId ?? '').trim() if (!owner || owner === 'local') { diff --git a/apps/desktop/src/store/projects.test.ts b/apps/desktop/src/store/projects.test.ts index 994927f33e..7c6f62c117 100644 --- a/apps/desktop/src/store/projects.test.ts +++ b/apps/desktop/src/store/projects.test.ts @@ -737,6 +737,7 @@ describe('project tree profile isolation', () => { projects: [{ id: 'remote-tree', label: 'Remote tree', path: null, repos: [], sessionCount: 0 }], scoped_session_ids: [] }) + const gateway = { connectionState: 'open', request } activeGateway.mockReturnValue(gateway as never) gatewayAtom.set(gateway as never)