Skip to content

Message reactions POC #1893

Message reactions POC

Message reactions POC #1893

Triggered via pull request January 7, 2025 12:27
Status Failure
Total duration 2m 6s
Artifacts

dev.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 7 warnings
format-check
Process completed with exit code 1.
test-typescript: test/core/messages.test.ts#L1
Module '"../../src/core/messages.ts"' has no exported member 'MessageEventPayload'.
test-typescript: test/react/hooks/use-messages.test.tsx#L1
Argument of type 'MessageListener | MessageListenerObject' is not assignable to parameter of type 'MessageListener'.
test-typescript: test/react/hooks/use-messages.test.tsx#L1
Argument of type '{ type: MessageEvents; message: { timestamp: Date; text: string; serial: string; clientId: string; roomId: string; createdAt: Date; action: ChatMessageActions; ... 14 more ...; metadata: {}; }; }' is not assignable to parameter of type 'MessageEventPayload'.
test-typescript
Process completed with exit code 2.
lint: src/core/events.ts#L58
Mixing number and string enums can be confusing
lint: src/core/message-events.ts#L1
Missing file extension for "./events"
lint: src/core/message-events.ts#L2
Missing file extension for "./message"
lint: src/core/message-window.ts#L3
Missing file extension for "./events"
lint: src/core/message-window.ts#L4
Missing file extension for "./message"
lint: src/core/message-window.ts#L9
'MessageReaction' is defined but never used
lint: src/core/message-window.ts#L11
'MessageReactionSummaries' is defined but never used
lint: src/core/message-window.ts#L13
Missing file extension for "./message-events"
lint: src/core/message-window.ts#L14
'MessageSubscriptionResponse' is defined but never used
lint: src/core/message-window.ts#L14
Missing file extension for "./messages"
demo-app
'MessageEventPayload' is declared but its value is never read.
demo-app
'MessageEvents' is declared but its value is never read.
demo-app
'PaginatedResult' is declared but its value is never read.
demo-app
'deletedMessage' is declared but its value is never read.
demo-app
Process completed with exit code 2.
test/react/hooks/use-messages.test.tsx > useMessages > should correctly subscribe and unsubscribe to message events: test/react/hooks/use-messages.test.tsx#L137
TypeError: listener is not a function ❯ test/react/hooks/use-messages.test.tsx:137:46
test
Process completed with exit code 1.
audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-typescript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
demo-app
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636