Skip to content

The agent that grows with you

test(desktop): a chat with only a waiting queued send gets no needs-input dot

Teknium46ccd722cb64
diff --git a/apps/desktop/src/store/owner-queue-reconcile.test.ts b/apps/desktop/src/store/owner-queue-reconcile.test.ts
index 646b508545e..7c5435d162f 100644
--- a/apps/desktop/src/store/owner-queue-reconcile.test.ts
+++ b/apps/desktop/src/store/owner-queue-reconcile.test.ts
@@ -144,3 +144,10 @@ it('a chat owned by a profile whose backend is not provably local is never read
expect(request).not.toHaveBeenCalled()
expect(vi.mocked(requestGatewayForProfile)).not.toHaveBeenCalled()
})
+
+it('a chat whose queue only holds a waiting send does not ask for the user', () => {
+ setSessions([row('gamma')])
+ reconcilePendingSubmissions('gamma', [{ admission_id: 'queued-send', status: 'queued', user: 'queued after hold' }])
+
+ expect($sessionDotStateById.get().gamma).not.toBe('needs-input')
+})