Skip to content

fix(caps): allow the user to dismiss the error when fetching caps #202

fix(caps): allow the user to dismiss the error when fetching caps

fix(caps): allow the user to dismiss the error when fetching caps #202

Triggered via push March 7, 2024 16:28
Status Failure
Total duration 50s
Artifacts

node.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
Unhandled error: src/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 send and receive messages from the window". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 send and receive messages from the window". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 send and receive messages from the window". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "can restore a chat". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "can restore a chat". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "can restore a chat". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "when creating a new chat I can select which model to use". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "when creating a new chat I can select which model to use". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "when creating a new chat I can select which model to use". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "retry chat". 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 (latest)
The job was canceled because "lts__" failed.
Unhandled error: src/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 send and receive messages from the window". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 send and receive messages from the window". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 send and receive messages from the window". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "can restore a chat". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "can restore a chat". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "can restore a chat". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "when creating a new chat I can select which model to use". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "when creating a new chat I can select which model to use". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "when creating a new chat I can select which model to use". 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/hooks/useEventBusForChat.ts#L416
TypeError: Cannot read properties of undefined (reading 'length') ❯ areHookInputsEqual node_modules/react-dom/cjs/react-dom.development.js:16249:38 ❯ updateEffectImpl node_modules/react-dom/cjs/react-dom.development.js:17078:11 ❯ updateEffect node_modules/react-dom/cjs/react-dom.development.js:17098:10 ❯ Object.useEffect node_modules/react-dom/cjs/react-dom.development.js:17862:14 ❯ Proxy.useEffect node_modules/react/cjs/react.development.js:1634:21 ❯ Module.useEventBusForChat src/hooks/useEventBusForChat.ts:416:3 ❯ Chat src/features/Chat.tsx:37:7 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19588:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21601:16 This error originated in "src/features/Chat.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 "retry chat". 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 (lts/*)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.