Skip to content

feat: adopt TS generator changes #9251

feat: adopt TS generator changes

feat: adopt TS generator changes #9251

Triggered via pull request October 5, 2026 13:29
Status Failure
Total duration 3m 14s
Artifacts –

ci.yml

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

Annotations

30 errors and 3 notices
Build & Validate
Object literal may only specify known properties, and 'pagination' does not exist in type 'Partial<ThreadManagerState>'.
Build & Validate
Property 'pagination' does not exist on type 'ThreadManagerState'.
Build & Validate
Property 'threads' does not exist on type 'ThreadManagerState'.
Build & Validate
Property 'pagination' does not exist on type 'ThreadManagerState'.
Build & Validate
Property 'threads' does not exist on type 'ThreadManagerState'.
Build & Validate
Parameter 'managedThread' implicitly has an 'any' type.
Build & Validate
Property 'threads' does not exist on type 'ThreadManagerState'.
Build & Validate
Parameter 'managedThread' implicitly has an 'any' type.
Build & Validate
Property 'threads' does not exist on type 'ThreadManagerState'.
Build & Validate
Property 'threadsById' does not exist on type 'ThreadManager'.
ESLint, Prettier & Types: src/components/Threads/ThreadList/ThreadList.tsx#L42
Object literal may only specify known properties, and 'pagination' does not exist in type 'Partial<ThreadManagerState>'.
ESLint, Prettier & Types: src/components/Threads/ThreadList/ThreadList.tsx#L39
Property 'pagination' does not exist on type 'ThreadManagerState'.
ESLint, Prettier & Types: src/components/Threads/ThreadList/ThreadList.tsx#L24
Property 'threads' does not exist on type 'ThreadManagerState'.
ESLint, Prettier & Types: src/components/Threads/ThreadList/ThreadList.tsx#L23
Property 'pagination' does not exist on type 'ThreadManagerState'.
ESLint, Prettier & Types: src/components/Thread/Thread.tsx#L140
Property 'threads' does not exist on type 'ThreadManagerState'.
ESLint, Prettier & Types: src/components/Thread/Thread.tsx#L135
Parameter 'managedThread' implicitly has an 'any' type.
ESLint, Prettier & Types: src/components/Thread/Thread.tsx#L135
Property 'threads' does not exist on type 'ThreadManagerState'.
ESLint, Prettier & Types: src/components/Thread/Thread.tsx#L99
Parameter 'managedThread' implicitly has an 'any' type.
ESLint, Prettier & Types: src/components/Thread/Thread.tsx#L98
Property 'threads' does not exist on type 'ThreadManagerState'.
ESLint, Prettier & Types: src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts#L74
Property 'threadsById' does not exist on type 'ThreadManager'.
src/components/Thread/__tests__/Thread.test.tsx > Thread > should provide the thread to its children: src/components/Thread/Thread.tsx#L99
TypeError: Cannot read properties of undefined (reading 'some') ❯ src/components/Thread/Thread.tsx:99:32 ❯ src/store/hooks/useStateStore.ts:42:29 ❯ mountSyncExternalStore node_modules/react-dom/cjs/react-dom-client.development.js:8125:24 ❯ Object.useSyncExternalStore node_modules/react-dom/cjs/react-dom-client.development.js:26269:16 ❯ process.env.NODE_ENV.exports.useSyncExternalStore node_modules/react/cjs/react.development.js:1270:34 ❯ useStateStore src/store/hooks/useStateStore.ts:62:17 ❯ Thread src/components/Thread/Thread.tsx:103:31 ❯ 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
src/components/Thread/__tests__/Thread.test.tsx > Thread > should render no UI of its own beyond the container: src/components/Thread/Thread.tsx#L99
TypeError: Cannot read properties of undefined (reading 'some') ❯ src/components/Thread/Thread.tsx:99:32 ❯ src/store/hooks/useStateStore.ts:42:29 ❯ mountSyncExternalStore node_modules/react-dom/cjs/react-dom-client.development.js:8125:24 ❯ Object.useSyncExternalStore node_modules/react-dom/cjs/react-dom-client.development.js:26269:16 ❯ process.env.NODE_ENV.exports.useSyncExternalStore node_modules/react/cjs/react.development.js:1270:34 ❯ useStateStore src/store/hooks/useStateStore.ts:62:17 ❯ Thread src/components/Thread/Thread.tsx:103:31 ❯ 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
src/components/Thread/__tests__/Thread.test.tsx > Thread > should render its children inside the thread container: src/components/Thread/Thread.tsx#L99
TypeError: Cannot read properties of undefined (reading 'some') ❯ src/components/Thread/Thread.tsx:99:32 ❯ src/store/hooks/useStateStore.ts:42:29 ❯ mountSyncExternalStore node_modules/react-dom/cjs/react-dom-client.development.js:8125:24 ❯ Object.useSyncExternalStore node_modules/react-dom/cjs/react-dom-client.development.js:26269:16 ❯ process.env.NODE_ENV.exports.useSyncExternalStore node_modules/react/cjs/react.development.js:1270:34 ❯ useStateStore src/store/hooks/useStateStore.ts:62:17 ❯ Thread src/components/Thread/Thread.tsx:103:31 ❯ 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
src/components/Message/__tests__/MessageUI.test.tsx > <MessageSimple /> > should fetch the parent thread via getThreadAndHydrate when not present locally: src/components/Message/__tests__/MessageUI.test.tsx#L787
AssertionError: expected "getThreadAndHydrate" to be called with arguments: [ 'x', …(1) ] Number of calls: 0 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="str-chat messaging light str-chat__channel" id="str-chat__channel" > <div class="str-chat__message str-chat__message--regular str-chat__message--received str-chat__message--has-text str-chat__message--me" > <div class="str-chat__message-also-sent-in-channel" role="status" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--arrow-up-right" data-rtl-mirror="" focusable="false" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" > <path d="M5 15L15 5M15 5H6.875M15 5V13.125" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" /> </svg> <span> Replied to a thread </span> <span> · </span> <button class="str-chat__message-also-sent-in-channel__link-button" type="button" > View </button> </div> <div data-testid="mocked-avatar" /> <div class="str-chat__message-inner" data-testid="message-inner" > <div class="str-chat__message-options" > <button aria-expanded="false" aria-haspopup="true" aria-label="Open Message Actions Menu" class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-actions-box-button" data-testid="message-actions-toggle-button" type="button" > <div class="str-chat__button__content" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--more str-chat__message-action-icon" focusable="false" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" > <path d="M10 11.25C10.6904 11.25 11.25 10.6904 11.25 10C11.25 9.30964 10.6904 8.75 10 8.75C9.30964 8.75 8.75 9.30964 8.75 10C8.75 10.6904 9.30964 11.25 10 11.25Z" /> <path d="M4.6875 11.25C5.37786 11.25 5.9375 10.6904 5.9375 10C5.9375 9.30964 5.37786 8.75 4.6875 8.75C3.99714 8.75 3.4375 9.30964 3.4375 10C3.4375 10.6904 3.99714 11.25 4.6875 11.25Z" /> <path d="M15.3125 11.25C16.0029 11.25 16.5625 10.6904 16.5625 10C16.5625 9.30964 16.0029 8.75 15.3125 8.75C14.6221 8.75 14.0625 9.30964 14.0625 10C14.0625 10.6904 14.6221 11.25 15.3125 11.25Z" /> </svg> </div> </button> <button aria-expanded="false" aria-label="Open Reaction Selector" class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reactions-button" data-testid="message-reaction-action" type="button" > <div class="str-chat__button__content" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--emoji str-chat__message-action-icon"
src/components/Message/__tests__/MessageUI.test.tsx > <MessageSimple /> > should not open thread when the parent thread cannot be resolved: src/components/Message/__tests__/MessageUI.test.tsx#L764
AssertionError: expected "getThreadAndHydrate" to be called at least once Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="str-chat messaging light str-chat__channel" id="str-chat__channel" > <div class="str-chat__message str-chat__message--regular str-chat__message--received str-chat__message--has-text str-chat__message--me" > <div class="str-chat__message-also-sent-in-channel" role="status" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--arrow-up-right" data-rtl-mirror="" focusable="false" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" > <path d="M5 15L15 5M15 5H6.875M15 5V13.125" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" /> </svg> <span> Replied to a thread </span> <span> · </span> <button class="str-chat__message-also-sent-in-channel__link-button" type="button" > View </button> </div> <div data-testid="mocked-avatar" /> <div class="str-chat__message-inner" data-testid="message-inner" > <div class="str-chat__message-options" > <button aria-expanded="false" aria-haspopup="true" aria-label="Open Message Actions Menu" class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-actions-box-button" data-testid="message-actions-toggle-button" type="button" > <div class="str-chat__button__content" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--more str-chat__message-action-icon" focusable="false" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" > <path d="M10 11.25C10.6904 11.25 11.25 10.6904 11.25 10C11.25 9.30964 10.6904 8.75 10 8.75C9.30964 8.75 8.75 9.30964 8.75 10C8.75 10.6904 9.30964 11.25 10 11.25Z" /> <path d="M4.6875 11.25C5.37786 11.25 5.9375 10.6904 5.9375 10C5.9375 9.30964 5.37786 8.75 4.6875 8.75C3.99714 8.75 3.4375 9.30964 3.4375 10C3.4375 10.6904 3.99714 11.25 4.6875 11.25Z" /> <path d="M15.3125 11.25C16.0029 11.25 16.5625 10.6904 16.5625 10C16.5625 9.30964 16.0029 8.75 15.3125 8.75C14.6221 8.75 14.0625 9.30964 14.0625 10C14.0625 10.6904 14.6221 11.25 15.3125 11.25Z" /> </svg> </div> </button> <button aria-expanded="false" aria-label="Open Reaction Selector" class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reactions-button" data-testid="message-reaction-action" type="button" > <div class="str-chat__button__content" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--emoji str-chat__message-action-icon" focusable="false"
src/components/Message/__tests__/MessageUI.test.tsx > <MessageSimple /> > should open thread when View button is clicked and parent thread is resolved: src/components/Message/__tests__/MessageUI.test.tsx#L744
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining {"id": "x"} ] Number of calls: 0 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="str-chat messaging light str-chat__channel" id="str-chat__channel" > <div class="str-chat__message str-chat__message--regular str-chat__message--received str-chat__message--has-text str-chat__message--me" > <div class="str-chat__message-also-sent-in-channel" role="status" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--arrow-up-right" data-rtl-mirror="" focusable="false" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" > <path d="M5 15L15 5M15 5H6.875M15 5V13.125" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" /> </svg> <span> Replied to a thread </span> <span> · </span> <button class="str-chat__message-also-sent-in-channel__link-button" type="button" > View </button> </div> <div data-testid="mocked-avatar" /> <div class="str-chat__message-inner" data-testid="message-inner" > <div class="str-chat__message-options" > <button aria-expanded="false" aria-haspopup="true" aria-label="Open Message Actions Menu" class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-actions-box-button" data-testid="message-actions-toggle-button" type="button" > <div class="str-chat__button__content" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--more str-chat__message-action-icon" focusable="false" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" > <path d="M10 11.25C10.6904 11.25 11.25 10.6904 11.25 10C11.25 9.30964 10.6904 8.75 10 8.75C9.30964 8.75 8.75 9.30964 8.75 10C8.75 10.6904 9.30964 11.25 10 11.25Z" /> <path d="M4.6875 11.25C5.37786 11.25 5.9375 10.6904 5.9375 10C5.9375 9.30964 5.37786 8.75 4.6875 8.75C3.99714 8.75 3.4375 9.30964 3.4375 10C3.4375 10.6904 3.99714 11.25 4.6875 11.25Z" /> <path d="M15.3125 11.25C16.0029 11.25 16.5625 10.6904 16.5625 10C16.5625 9.30964 16.0029 8.75 15.3125 8.75C14.6221 8.75 14.0625 9.30964 14.0625 10C14.0625 10.6904 14.6221 11.25 15.3125 11.25Z" /> </svg> </div> </button> <button aria-expanded="false" aria-label="Open Reaction Selector" class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reactions-button" data-testid="message-reaction-action" type="button" > <div class="str-chat__button__content" > <svg aria-hidden="true" class="str-chat__icon str-chat__icon--emoji str-chat__message-action-icon"
src/components/Channel/__tests__/Channel.test.tsx > Channel > Children that consume the contexts set in Channel > Sending/removing/updating messages > should enable editing messages: src/components/Channel/__tests__/Channel.test.tsx#L562
AssertionError: expected "updateMessage" to be called with arguments: [ …(2) ] Received: 1st updateMessage call: @@ -2,25 +2,16 @@ { "id": "xPlji8Mwp7uPDJK3kA8k3", }, { "message": { - "__html": "<p>regular</p>", "attachments": [], "cid": "messaging:pz8qdVdqnzJO8UHeLoHiJ", "id": "xPlji8Mwp7uPDJK3kA8k3", "mentioned_users": [], + "pinned": false, + "pinned_at": null, + "status": "received", "text": "something entirely different", - "type": "regular", - "user": { - "banned": false, - "created_at": 1587994789331000000, - "id": "id", - "image": "kexm2irljm7hdQ_cVfGuj", - "name": "name", - "online": false, - "role": "user", - "updated_at": 1587994789332000000, - }, }, }, ] Number of calls: 1 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="str-chat messaging light str-chat__channel" id="str-chat__channel" /> </div> <span style="border: 0px; clip: rect(0px, 0px, 0px, 0px); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; white-space: nowrap; width: 1px;" > <div aria-atomic="false" aria-live="polite" aria-relevant="additions" data-testid="str-chat__aria-live-region--polite" role="status" /> <div aria-atomic="false" aria-live="assertive" aria-relevant="additions" data-testid="str-chat__aria-live-region--assertive" role="alert" /> </span> </body> </html> ❯ src/components/Channel/__tests__/Channel.test.tsx:562:42 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
Unhandled error: src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts#L74
TypeError: Cannot read properties of undefined (reading 'x') ❯ viewReplyInThread src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts:74:41 ❯ viewReference src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts:96:13 ❯ executeDispatch node_modules/react-dom/cjs/react-dom-client.development.js:19116:9 ❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ processDispatchQueue node_modules/react-dom/cjs/react-dom-client.development.js:19166:19 ❯ node_modules/react-dom/cjs/react-dom-client.development.js:19767:9 ❯ batchedUpdates$1 node_modules/react-dom/cjs/react-dom-client.development.js:3255:40 ❯ dispatchEventForPluginEventSystem node_modules/react-dom/cjs/react-dom-client.development.js:19320:7 ❯ dispatchEvent node_modules/react-dom/cjs/react-dom-client.development.js:23585:11 ❯ dispatchDiscreteEvent node_modules/react-dom/cjs/react-dom-client.development.js:23553:11 This error originated in "src/components/Message/__tests__/MessageUI.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 fetch the parent thread via getThreadAndHydrate when not present locally". 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/Message/hooks/useMessageAlsoSentInChannelNavigation.ts#L74
TypeError: Cannot read properties of undefined (reading 'x') ❯ viewReplyInThread src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts:74:41 ❯ viewReference src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts:96:13 ❯ executeDispatch node_modules/react-dom/cjs/react-dom-client.development.js:19116:9 ❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ processDispatchQueue node_modules/react-dom/cjs/react-dom-client.development.js:19166:19 ❯ node_modules/react-dom/cjs/react-dom-client.development.js:19767:9 ❯ batchedUpdates$1 node_modules/react-dom/cjs/react-dom-client.development.js:3255:40 ❯ dispatchEventForPluginEventSystem node_modules/react-dom/cjs/react-dom-client.development.js:19320:7 ❯ dispatchEvent node_modules/react-dom/cjs/react-dom-client.development.js:23585:11 ❯ dispatchDiscreteEvent node_modules/react-dom/cjs/react-dom-client.development.js:23553:11 This error originated in "src/components/Message/__tests__/MessageUI.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 not open thread when the parent thread cannot be resolved". 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/Message/hooks/useMessageAlsoSentInChannelNavigation.ts#L74
TypeError: Cannot read properties of undefined (reading 'x') ❯ viewReplyInThread src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts:74:41 ❯ viewReference src/components/Message/hooks/useMessageAlsoSentInChannelNavigation.ts:96:13 ❯ executeDispatch node_modules/react-dom/cjs/react-dom-client.development.js:19116:9 ❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ processDispatchQueue node_modules/react-dom/cjs/react-dom-client.development.js:19166:19 ❯ node_modules/react-dom/cjs/react-dom-client.development.js:19767:9 ❯ batchedUpdates$1 node_modules/react-dom/cjs/react-dom-client.development.js:3255:40 ❯ dispatchEventForPluginEventSystem node_modules/react-dom/cjs/react-dom-client.development.js:19320:7 ❯ dispatchEvent node_modules/react-dom/cjs/react-dom-client.development.js:23585:11 ❯ dispatchDiscreteEvent node_modules/react-dom/cjs/react-dom-client.development.js:23553:11 This error originated in "src/components/Message/__tests__/MessageUI.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 open thread when View button is clicked and parent thread is resolved". 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.
Build & Validate
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
ESLint, Prettier & Types
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Test
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"