Skip to content

feat: MVP Knowledge #3190

feat: MVP Knowledge

feat: MVP Knowledge #3190

Triggered via pull request June 22, 2024 13:52
Status Success
Total duration 5m 5s
Artifacts

unit-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test: packages/toolkit/src/components/card-model/CardModel.tsx#L54
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
unit-test: packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L57
The 'forceCloseCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 172) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceCloseCollapsibleFormGroups' in its own useMemo() Hook
unit-test: packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L61
The 'forceOpenCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 172) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceOpenCollapsibleFormGroups' in its own useMemo() Hook
unit-test: packages/toolkit/src/view/knowledge/components/CreateKnowledgeBaseCard.tsx#L142
The 'deleteKnowledgeBaseHandler' function makes the dependencies of useEffect Hook (at line 202) change on every render. To fix this, wrap the definition of 'deleteKnowledgeBaseHandler' in its own useCallback() Hook
unit-test: packages/toolkit/src/view/knowledge/components/CreateKnowledgeDialog.tsx#L92
React Hook React.useEffect has a missing dependency: 'form'. Either include it or remove the dependency array
unit-test: packages/toolkit/src/view/knowledge/components/KnowledgeBaseTab.tsx#L89
React Hook React.useEffect has a missing dependency: 'getKnowledgeBases'. Either include it or remove the dependency array
unit-test: packages/toolkit/src/view/pipeline-builder/lib/hooks/useUpdaterOnNode.tsx#L53
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
unit-test: packages/toolkit/src/view/pipeline-builder/lib/hooks/useUpdaterOnRightPanel.tsx#L52
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
unit-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/