Skip to content

materialization: add fields to support deletion and edits in chat. #1545

materialization: add fields to support deletion and edits in chat.

materialization: add fields to support deletion and edits in chat. #1545

Triggered via pull request October 10, 2024 13:50
Status Failure
Total duration 1m 32s
Artifacts

dev.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
test/core/chat.integration.test.ts > Chat > should work using basic auth: test/core/chat.integration.test.ts#L60
AssertionError: expected { connections: 1, presenceMembers: +0 } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { - "connections": 0, + Object { + "connections": 1, "presenceMembers": 0, } ❯ test/core/chat.integration.test.ts:60:23
test/core/chat.integration.test.ts > Chat > should work using msgpack: test/core/chat.integration.test.ts#L79
AssertionError: expected { connections: 1, presenceMembers: +0 } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { - "connections": 0, + Object { + "connections": 1, "presenceMembers": 0, } ❯ test/core/chat.integration.test.ts:79:23
test/core/helpers.test.ts > helpers > fromEncodedChatMessage > should return a chat message: src/core/message-parser.ts#L115
Error: received incoming message with unhandled action; MESSAGE_CREATED ❯ Module.parseMessage src/core/message-parser.ts:115:13 ❯ chatMessageFromAblyMessage src/core/helpers.ts:129:10 ❯ Module.chatMessageFromEncoded src/core/helpers.ts:66:10 ❯ test/core/helpers.test.ts:37:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 50000, statusCode: 500 }
test/core/messages.integration.test.ts > messages integration > should be able to send and receive chat messages: test/core/messages.integration.test.ts#L28
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/core/messages.integration.test.ts:28:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should send messages correctly: test/react/hooks/use-messages.integration.test.tsx#L22
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:22:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should receive messages on a subscribed listener: test/react/hooks/use-messages.integration.test.tsx#L22
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:22:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should reset getPreviousMessages if the listener becomes undefined then redefined: test/react/hooks/use-messages.integration.test.tsx#L217
AssertionError: expected undefined to be 'You underestimate my power' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body /> </html> - Expected: "You underestimate my power" + Received: undefined ❯ waitFor.timeout test/react/hooks/use-messages.integration.test.tsx:217:37 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react/hooks/use-messages.integration.test.tsx > useMessages > should persist the getPreviousMessages subscription point across renders, if listener remains defined: test/react/hooks/use-messages.integration.test.tsx#L351
AssertionError: expected undefined to be 'You underestimate my power' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body /> </html> - Expected: "You underestimate my power" + Received: undefined ❯ waitFor.timeout test/react/hooks/use-messages.integration.test.tsx:351:37 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
test
Process completed with exit code 1.
audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
audit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
format-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
format-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-typescript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
demo-app
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
demo-app
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/