Skip to content

Test: Add e2e test for duplicate events after resume (#567) #436

Test: Add e2e test for duplicate events after resume (#567)

Test: Add e2e test for duplicate events after resume (#567) #436

Triggered via pull request March 2, 2026 16:06
Status Failure
Total duration 2m 29s
Artifacts

nodejs-sdk-tests.yml

on: pull_request
Matrix: Node.js SDK Tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Node.js SDK Tests (ubuntu-latest)
Process completed with exit code 1.
test/e2e/session.test.ts > Sessions > should not receive duplicate events after resume: nodejs/test/e2e/session.test.ts#L231
AssertionError: expected [ { type: 'assistant.message' }, …(2) ] to have a length of 1 but got 3 - Expected + Received - 1 + 3 ❯ test/e2e/session.test.ts:231:35
Node.js SDK Tests (ubuntu-latest): nodejs/test/e2e/session_config.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Summarize the attached file\n\n\n\n<tagged_files>\n* ${workdir}/attached.txt (1 lines)\n</tagged_files>"}
Node.js SDK Tests (macos-latest)
Process completed with exit code 1.
test/e2e/session.test.ts > Sessions > should not receive duplicate events after resume: nodejs/test/e2e/session.test.ts#L231
AssertionError: expected [ { type: 'assistant.message' }, …(2) ] to have a length of 1 but got 3 - Expected + Received - 1 + 3 ❯ test/e2e/session.test.ts:231:35
Node.js SDK Tests (macos-latest): nodejs/test/e2e/session_config.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Summarize the attached file\n\n\n\n<tagged_files>\n* ${workdir}/attached.txt (1 lines)\n</tagged_files>"}
Node.js SDK Tests (windows-latest)
Process completed with exit code 1.
test/e2e/session.test.ts > Sessions > should not receive duplicate events after resume: nodejs/test/e2e/session.test.ts#L231
AssertionError: expected [ { type: 'assistant.message' }, …(2) ] to have a length of 1 but got 3 - Expected + Received - 1 + 3 ❯ test/e2e/session.test.ts:231:35
Node.js SDK Tests (windows-latest): nodejs/test/e2e/session_config.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"user","content":"Summarize the attached file\n\n\n\n<tagged_files>\n* ${workdir}/attached.txt (1 lines)\n</tagged_files>"}