Skip to content

Fix initial load from cache for S3 tree #125

Fix initial load from cache for S3 tree

Fix initial load from cache for S3 tree #125

Triggered via pull request April 2, 2024 21:46
Status Success
Total duration 4m 47s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
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#L113
Unexpected any. Specify a different type
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L250
React Hook useEffect has missing dependencies: 'dataSource' and 'refreshDatabasesinTree'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L259
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#L268
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#L272
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#L284
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#L298
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#L306
React Hook useEffect has missing dependencies: 'stopDatabasesLoading', 'stopLoadingAccelerations', and 'stopLoadingTables'. Either include them or remove the dependency array