Skip to content

Catch no database found errors from cache manager #106

Catch no database found errors from cache manager

Catch no database found errors from cache manager #106

Triggered via pull request March 25, 2024 20:56
Status Failure
Total duration 4m 29s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 14 warnings
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree_helpers.tsx#L127
React Hook "useToast" is called in function "getTablesFromCache" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
Lint
Process completed with exit code 1.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, lots0logs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
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/
Lint
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/
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L112
Unexpected any. Specify a different type
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L244
React Hook useEffect has a missing dependency: 'refreshDatabasesinTree'. Either include it or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L253
React Hook useEffect has a missing dependency: 'isObjectLoading'. Either include it or remove the dependency array. You can also do a functional update 'setIsObjectLoading(i => ...)' if you only need 'isObjectLoading' in the 'setIsObjectLoading' call
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L262
React Hook useEffect has a missing dependency: 'isObjectLoading'. Either include it or remove the dependency array. You can also do a functional update 'setIsObjectLoading(i => ...)' if you only need 'isObjectLoading' in the 'setIsObjectLoading' call
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L266
React Hook useEffect has a missing dependency: 'onLoadS3Tree'. Either include it or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L278
React Hook useEffect has missing dependencies: 'isFirstRender' and 'onRefreshTree'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L292
React Hook useEffect has missing dependencies: 'constructObjectTree', 'currentSelectedDatabase', and 'dataSource'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L300
React Hook useEffect has missing dependencies: 'stopDatabasesLoading', 'stopLoadingAccelerations', and 'stopLoadingTables'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree_helpers.tsx#L88
Unexpected any. Specify a different type
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree_helpers.tsx#L155
Unexpected any. Specify a different type