feat(dashboard): Add cost tabs to dashboard and model usage tracking #5263
Annotations
1 error and 16 warnings
Run prettier
Process completed with exit code 1.
|
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/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run linter:
packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L60
The 'forceCloseCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 184) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceCloseCollapsibleFormGroups' in its own useMemo() Hook
|
Run linter:
packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L64
The 'forceOpenCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 184) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceOpenCollapsibleFormGroups' in its own useMemo() Hook
|
Run linter:
packages/toolkit/src/view/catalog/components/FileChunks.tsx#L75
React Hook React.useEffect has a missing dependency: 'namespaceCatalogChunks'. Either include it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/catalog/components/tabs/ChunkTab.tsx#L122
React Hook React.useEffect has a missing dependency: 'namespaceCatalogFiles'. Either include it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/dashboard/activity/DashboardActivityPageMainView.tsx#L234
React Hook React.useMemo has an unnecessary dependency: 'selectedTimeOption'. Either exclude it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/pipeline-builder/components/release-menu/ReleaseMenu.tsx#L102
React Hook React.useCallback has missing dependencies: 'routeInfo.data.namespaceId' and 'routeInfo.data.resourceId'. Either include them or remove the dependency array
|
Run linter:
packages/toolkit/src/view/pipeline-builder/lib/hooks/useUpdaterOnNode.tsx#L55
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run linter:
packages/toolkit/src/view/pipeline-builder/lib/hooks/useUpdaterOnRightPanel.tsx#L54
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run linter:
packages/toolkit/src/view/pipeline/view-pipeline/PipelineRunViews/List.tsx#L92
React Hook React.useMemo has an unnecessary dependency: 'pipelineRuns.isSuccess'. Either exclude it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/pipeline/view-pipeline/PipelineRunViews/List.tsx#L260
React Hook React.useMemo has missing dependencies: 'orderBy', 'ownerId', and 'pipeline?.id'. Either include them or remove the dependency array
|
Get pnpm store directory
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/
|
Install pnpm
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/
|
Install pnpm
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/
|
Install pnpm
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/
|
Loading