Skip to content

The agent that grows with you

test(desktop): remote background-queue drain carries its submission id

Teknium36c68c0c0faa
diff --git a/apps/desktop/src/app/contrib/wiring-background-queue-drain.test.tsx b/apps/desktop/src/app/contrib/wiring-background-queue-drain.test.tsx
index dbe0e677b18..72976ba8637 100644
--- a/apps/desktop/src/app/contrib/wiring-background-queue-drain.test.tsx
+++ b/apps/desktop/src/app/contrib/wiring-background-queue-drain.test.tsx
@@ -217,7 +217,9 @@ describe('ContribWiring background queue: independent remote owner', () => {
attachments: [],
fromQueue: true,
sessionId: 'rt-remote',
- storedSessionId: 'stored-remote'
+ storedSessionId: 'stored-remote',
+ // The queued row's id rides every drain so the gateway admits it at most once.
+ submission_id: expect.any(String)
})
expect.soft(fixture.remoteRequest).toHaveBeenCalledExactlyOnceWith('remote-healthy', 'worker', 'prompt.submit', {
session_id: 'rt-remote',