Skip to content

rsc/render types: mark tool/function parameters optional #2133

rsc/render types: mark tool/function parameters optional

rsc/render types: mark tool/function parameters optional #2133

Triggered via pull request March 4, 2024 00:10
Status Failure
Total duration 54s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 warnings
Prettier
Process completed with exit code 1.
TypeScript
ai#build: command (/home/runner/work/ai/ai/packages/core) pnpm run build exited (1)
TypeScript
No overload matches this call.
TypeScript
Process completed with exit code 1.
Prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.4, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
TypeScript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.4, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ESLint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.4, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ESLint: packages/core/rsc/shared-client/context.tsx#L55
React Hook React.useEffect has a missing dependency: 'aiState'. Either include it or remove the dependency array
ESLint: packages/core/rsc/shared-client/context.tsx#L55
React Hook React.useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
ESLint: packages/core/rsc/shared-client/context.tsx#L83
React Hook React.useMemo has a missing dependency: 'aiState'. Either include it or remove the dependency array
ESLint: packages/core/rsc/shared-client/context.tsx#L110
React Hook React.useMemo has missing dependencies: 'setAIState' and 'setUIState'. Either include them or remove the dependency array
ESLint: packages/core/rsc/shared-client/context.tsx#L185
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead