The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): another profile's same-id messaging tree row does not silence a local completion
yoniebans35b4d07371ed
diff --git a/apps/desktop/src/store/session-states-eviction.test.ts b/apps/desktop/src/store/session-states-eviction.test.tsindex cd71eacbc54..5ec4efe2d51 100644--- a/apps/desktop/src/store/session-states-eviction.test.ts+++ b/apps/desktop/src/store/session-states-eviction.test.ts@@ -109,6 +109,38 @@ describe('publish-time eviction', () => {expect($unreadFinishedSessionIds.get()).not.toContain('tg-old')})+ it("keeps a local completion lit when only another profile's same-id tree row is messaging", () => {+ $projectTree.set([+ {+ id: 'proj',+ label: 'proj',+ path: null,+ repos: [+ {+ id: 'repo',+ label: 'repo',+ path: null,+ groups: [+ {+ id: 'lane',+ label: 'lane',+ path: null,+ sessions: [makeSessionInfo({ id: 'shared', profile: 'beta', source: 'telegram' })]+ }+ ],+ sessionCount: 1+ }+ ],+ sessionCount: 1+ }+ ])++ publishSessionState('rt-local', state('shared', { busy: true }))+ publishSessionState('rt-local', state('shared', { busy: false }))++ expect($unreadFinishedSessionIds.get()).toContain('shared')+ })+it('keeps a busy session with no surface — its background turn feeds the sidebar dot', () => {publishSessionState('rt-1', state('stored-1', { busy: true }))publishSessionState('rt-1', state('stored-1', { busy: true, awaitingResponse: true }))