Skip to content

feat: migrate to stream-chat v10 #9059

feat: migrate to stream-chat v10

feat: migrate to stream-chat v10 #9059

Triggered via pull request July 14, 2026 09:52
Status Failure
Total duration 3m 59s
Artifacts

ci.yml

on: pull_request
Matrix: Deploy Vite Example to Vercel
Fit to window
Zoom out
Zoom in

Annotations

21 errors
ESLint & Prettier
Process completed with exit code 1.
Build & Validate
Property 'custom' does not exist on type 'VoiceRecordingAttachment'.
Build & Validate
Property 'custom' does not exist on type 'Attachment'.
Build & Validate
'"stream-chat"' has no exported member named 'SharedLocationResponseData'. Did you mean 'SharedLocationResponse'?
Build & Validate
Property 'custom' does not exist on type 'Attachment'.
Build & Validate
Property 'custom' does not exist on type 'VoiceRecordingAttachment'.
Build & Validate
'"stream-chat"' has no exported member named 'isSharedLocationResponseData'. Did you mean 'isSharedLocationResponse'?
Build & Validate
'"stream-chat"' has no exported member named 'SharedLocationResponseData'. Did you mean 'SharedLocationResponse'?
Build & Validate
'"stream-chat"' has no exported member named 'isSharedLocationResponseData'. Did you mean 'isSharedLocationResponse'?
Build & Validate
'"stream-chat"' has no exported member named 'SharedLocationResponseData'. Did you mean 'SharedLocationResponse'?
Build & Validate
Module '"stream-chat"' has no exported member 'EventPayload'.
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render Media component for video of video/ogg mime-type attachment: src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render Media component for video of video/mp4 mime-type attachment: src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render 'Image' component for 'message with single image': src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render 'Gallery' component for 'message with multiple "image" attachm…': src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render 'File' component for '"file" type attachment': src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render 'Audio' component for '"audio" type attachment': src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
src/components/Attachment/__tests__/Attachment.test.tsx > attachment > non-scraped content > should render unsupported attachment if unrecognized type: src/components/Attachment/Attachment.tsx#L125
TypeError: isSharedLocationResponseData is not a function ❯ attachments.reduce.card src/components/Attachment/Attachment.tsx:125:11 ❯ renderGroupedAttachments src/components/Attachment/Attachment.tsx:123:34 ❯ src/components/Attachment/Attachment.tsx:99:7 ❯ mountMemo node_modules/react-dom/cjs/react-dom-client.development.js:8777:23 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom-client.development.js:26216:18 ❯ process.env.NODE_ENV.exports.useMemo node_modules/react/cjs/react.development.js:1251:34 ❯ Attachment src/components/Attachment/Attachment.tsx:97:30 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
Unhandled error: src/components/Channel/utils.ts#L86
TypeError: Right-hand side of 'instanceof' is not an object ❯ adaptMessageSendErrorToErrorFromResponse src/components/Channel/utils.ts:86:7 ❯ doSendMessage src/components/Channel/Channel.tsx:947:27 ❯ sendMessage src/components/Channel/Channel.tsx:1000:5 This error originated in "src/components/Channel/__tests__/Channel.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should remove scraped attachment on retry-sending message". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/Channel/utils.ts#L86
TypeError: Right-hand side of 'instanceof' is not an object ❯ adaptMessageSendErrorToErrorFromResponse src/components/Channel/utils.ts:86:7 ❯ doSendMessage src/components/Channel/Channel.tsx:947:27 ❯ sendMessage src/components/Channel/Channel.tsx:1000:11 ❯ src/components/Channel/__tests__/Channel.test.tsx:2043:15 ❯ src/components/Channel/__tests__/Channel.test.tsx:114:5 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25989:20 ❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom-client.development.js:13249:29 ❯ commitHookPassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:13336:11 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15484:13 This error originated in "src/components/Channel/__tests__/Channel.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should mark message as received when the backend reports duplicated message id". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.tsx#L37
TypeError: Cannot read properties of undefined (reading 'mime_type') ❯ FileAttachmentPreview src/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.tsx:37:75 ❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19 ❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18 ❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:17641:22 ❯ workLoopSync node_modules/react-dom/cjs/react-dom-client.development.js:17469:41 ❯ renderRootSync node_modules/react-dom/cjs/react-dom-client.development.js:17450:11 ❯ performWorkOnRoot node_modules/react-dom/cjs/react-dom-client.development.js:16583:35 This error originated in "src/components/MessageComposer/__tests__/MessageInput.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should only allow dropping max number of files into the dropzone". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.