Skip to content

Materialisation: Add message deletion functionality to Chat #1564

Materialisation: Add message deletion functionality to Chat

Materialisation: Add message deletion functionality to Chat #1564

Triggered via pull request October 16, 2024 09:18
Status Failure
Total duration 1m 46s
Artifacts

dev.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 14 warnings
format-check
Process completed with exit code 1.
test/core/chat-api.test.ts > config > calls the api with the correct protocol version: test/core/chat-api.test.ts#L30
AssertionError: expected "request" to be called with arguments: [ 'GET', …(4) ] Received: 1st request call: Array [ "GET", "/chat/v1/rooms/test/occupancy", 3, - Object {}, + undefined, undefined, ] Number of calls: 1 ❯ test/core/chat-api.test.ts:30:34 ❯ test/core/chat-api.test.ts:23:5
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/messages.integration.test.ts > messages integration > should be able to send and receive chat messages: test/core/messages.integration.test.ts#L29
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/core/messages.integration.test.ts:29:14
test/core/messages.integration.test.ts > messages integration > should be able to delete and receive deletion messages: src/core/chat-api.ts#L146
Error: not found ❯ ChatApi._makeAuthorizedRequest src/core/chat-api.ts:146:13 ❯ DefaultMessages.delete src/core/messages.ts:539:22 ❯ test/core/messages.integration.test.ts:112:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 40400, statusCode: 404 }
test/core/messages.integration.test.ts > messages integration > should be able to retrieve chat deletion history: src/core/chat-api.ts#L146
Error: not found ❯ ChatApi._makeAuthorizedRequest src/core/chat-api.ts:146:13 ❯ DefaultMessages.delete src/core/messages.ts:539:22 ❯ test/core/messages.integration.test.ts:187:29 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 40400, statusCode: 404 }
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 delete 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-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/
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/
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/
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/
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/