Skip to content

Materialisation: Add message deletion functionality to Chat #1651

Materialisation: Add message deletion functionality to Chat

Materialisation: Add message deletion functionality to Chat #1651

Triggered via pull request October 25, 2024 15:35
Status Failure
Total duration 2m 0s
Artifacts

dev.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 14 warnings
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/messages.test.ts > Messages > sending message > should be able to delete a message and get it back from response: test/core/messages.test.ts#L104
AssertionError: expected DefaultMessage{ …(14) } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { + DefaultMessage { + "_calculatedTimeserial": DefaultTimeserial { + "counter": 123, + "index": undefined, + "seriesId": "abcdefghij", + "timestamp": 1672531200000, + }, "clientId": "clientId", + "createdAt": 2024-10-25T15:35:53.567Z, "deletedAt": 2024-10-25T15:35:53.567Z, - "deletedBy": "clientId", + "deletedBy": undefined, + "deletionDetail": Object { + "description": undefined, + "metadata": undefined, + }, + "headers": Object {}, + "metadata": Object {}, "roomId": "ably-chat-js-room-cz8qy3", "text": "hello there", "timeserial": "abcdefghij@1672531200000-123", + "updateDetail": undefined, + "updatedAt": undefined, + "updatedBy": undefined, } ❯ test/core/messages.test.ts:104:30
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/
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/
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/
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/