Skip to content

Merge pull request #47 from yeahhe365/refactor/pure-frontend-platform #12

Merge pull request #47 from yeahhe365/refactor/pure-frontend-platform

Merge pull request #47 from yeahhe365/refactor/pure-frontend-platform #12

Triggered via push April 8, 2026 13:38
Status Failure
Total duration 45s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint-and-typecheck: src/hooks/app/logic/useAppHandlers.ts#L142
'n' is never reassigned. Use 'const' instead
lint-and-typecheck: src/components/message/content/MessageFiles.tsx#L33
React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
lint-and-typecheck: src/components/message/blocks/TableBlock.tsx#L62
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
lint-and-typecheck: src/components/message/blocks/GraphvizBlock.tsx#L166
'timeoutId' is never reassigned. Use 'const' instead
lint-and-typecheck: src/components/message/blocks/GraphvizBlock.tsx#L8
Unexpected var, use let or const instead
lint-and-typecheck: src/components/message/FileDisplay.tsx#L180
Expected an assignment or function call and instead saw an expression
lint-and-typecheck: src/components/message/FileDisplay.tsx#L99
Expected an assignment or function call and instead saw an expression
lint-and-typecheck: src/components/chat/input/toolbar/ImagenAspectRatioSelector.tsx#L10
The value assigned to 'styles' is not used in subsequent statements
lint-and-typecheck
Expected an assignment or function call and instead saw an expression
lint-and-typecheck
Expected an assignment or function call and instead saw an expression
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint-and-typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint-and-typecheck
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputFileModals.tsx#L78
Unexpected any. Specify a different type
lint-and-typecheck
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputActions.tsx#L140
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputActions.tsx#L115
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputActions.tsx#L103
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputActions.tsx#L89
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputActions.tsx#L71
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/input/ChatInputActions.tsx#L64
Unexpected any. Specify a different type
lint-and-typecheck: src/components/chat/MessageList.tsx#L175
Unexpected any. Specify a different type