Skip to content

chat-core: decrease timeout of the stopTyping timer #1625

chat-core: decrease timeout of the stopTyping timer

chat-core: decrease timeout of the stopTyping timer #1625

Triggered via pull request October 18, 2024 15:17
Status Failure
Total duration 1m 21s
Artifacts

dev.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 14 warnings
test/core/messages.integration.test.ts > messages integration > should be able to get history for listener from attached timeserial: test/core/messages.integration.test.ts#L300
AssertionError: expected [ DefaultMessage{ …(8) }, …(1) ] to deeply equal [ ObjectContaining{…}, …(1) ] - Expected + Received Array [ - ObjectContaining { + DefaultMessage { + "_calculatedTimeserial": DefaultTimeserial { + "counter": 0, + "index": undefined, + "seriesId": "e7dVUTT0gBha3Y92893202", + "timestamp": 1729264698353, + }, "clientId": "ably-chat-js-client-va1d6", + "createdAt": 2024-10-18T15:18:18.353Z, + "headers": Object {}, + "metadata": Object {}, + "roomId": "ably-chat-js-room-fbsokn", "text": "I have the high ground!", - "timeserial": "e7dVUTT0gBha3Y92893202@1729264698353-0:0", + "timeserial": "e7dVUTT0gBha3Y92893202@1729264698353-0", + }, + DefaultMessage { + "_calculatedTimeserial": DefaultTimeserial { + "counter": 0, + "index": undefined, + "seriesId": "e7dVUTT0gBha3Y92893202", + "timestamp": 1729264698333, }, - ObjectContaining { "clientId": "ably-chat-js-client-va1d6", + "createdAt": 2024-10-18T15:18:18.333Z, + "headers": Object {}, + "metadata": Object {}, + "roomId": "ably-chat-js-room-fbsokn", "text": "Hello there!", - "timeserial": "e7dVUTT0gBha3Y92893202@1729264698333-0:0", + "timeserial": "e7dVUTT0gBha3Y92893202@1729264698333-0", }, ] ❯ test/core/messages.integration.test.ts:300:43
test/core/messages.integration.test.ts > messages integration > should be able to get history for multiple listeners: test/core/messages.integration.test.ts#L397
AssertionError: expected [ DefaultMessage{ …(8) }, …(2) ] to deeply equal [ DefaultMessage{ …(8) }, …(2) ] - Expected + Received Array [ DefaultMessage { "_calculatedTimeserial": DefaultTimeserial { "counter": 0, - "index": undefined, + "index": 0, "seriesId": "e7d4k3O9wBha3Z72055317", "timestamp": 1729264698935, }, "clientId": "ably-chat-js-client-hu23ch", "createdAt": 2024-10-18T15:18:18.935Z, "headers": Object {}, "metadata": Object {}, "roomId": "ably-chat-js-room-xc3ebj", "text": "You underestimate my power!", - "timeserial": "e7d4k3O9wBha3Z72055317@1729264698935-0", + "timeserial": "e7d4k3O9wBha3Z72055317@1729264698935-0:0", }, DefaultMessage { "_calculatedTimeserial": DefaultTimeserial { "counter": 0, - "index": undefined, + "index": 0, "seriesId": "e7d4k3O9wBha3Z72055317", "timestamp": 1729264698920, }, "clientId": "ably-chat-js-client-hu23ch", "createdAt": 2024-10-18T15:18:18.920Z, "headers": Object {}, "metadata": Object {}, "roomId": "ably-chat-js-room-xc3ebj", "text": "I have the high ground!", - "timeserial": "e7d4k3O9wBha3Z72055317@1729264698920-0", + "timeserial": "e7d4k3O9wBha3Z72055317@1729264698920-0:0", }, DefaultMessage { "_calculatedTimeserial": DefaultTimeserial { "counter": 0, - "index": undefined, + "index": 0, "seriesId": "e7d4k3O9wBha3Z72055317", "timestamp": 1729264698900, }, "clientId": "ably-chat-js-client-hu23ch", "createdAt": 2024-10-18T15:18:18.900Z, "headers": Object {}, "metadata": Object {}, "roomId": "ably-chat-js-room-xc3ebj", "text": "Hello there!", - "timeserial": "e7d4k3O9wBha3Z72055317@1729264698900-0", + "timeserial": "e7d4k3O9wBha3Z72055317@1729264698900-0:0", }, ] ❯ test/core/messages.integration.test.ts:397:43
test
Process completed with exit code 1.
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/
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/
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/
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/
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/
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/