Skip to content

chore(repo): eslint Wing CLI source code (#4381) #1

chore(repo): eslint Wing CLI source code (#4381)

chore(repo): eslint Wing CLI source code (#4381) #1

Triggered via push October 4, 2023 03:48
Status Failure
Total duration 38m 10s
Artifacts 2

build.yml

on: push
Matrix: e2e-test
aws-sdk-spec-test  /  setup
4s
aws-sdk-spec-test / setup
Console Preview
0s
Console Preview
Matrix: aws-sdk-spec-test / test-tf-aws
Quality Gate
2s
Quality Gate
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 10 warnings
aws-sdk-spec-test / website
Process completed with exit code 1.
aws-sdk-spec-test / website
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / math
Process completed with exit code 1.
aws-sdk-spec-test / math
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / dynamodb-table
Process completed with exit code 1.
aws-sdk-spec-test / dynamodb-table
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / service
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / service
Process completed with exit code 1.
aws-sdk-spec-test / schedule
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / schedule
Process completed with exit code 1.
aws-sdk-spec-test / regex
Process completed with exit code 1.
aws-sdk-spec-test / regex
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / topic
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / topic
Process completed with exit code 1.
aws-sdk-spec-test / api
Process completed with exit code 1.
aws-sdk-spec-test / api
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / util
Process completed with exit code 1.
aws-sdk-spec-test / util
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / counter
Process completed with exit code 1.
aws-sdk-spec-test / counter
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / table
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / table
Process completed with exit code 1.
aws-sdk-spec-test / http
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / http
Process completed with exit code 1.
aws-sdk-spec-test / bucket
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / bucket
Process completed with exit code 1.
aws-sdk-spec-test / queue
Process completed with exit code 1.
aws-sdk-spec-test / queue
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / function
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / function
Process completed with exit code 1.
aws-sdk-spec-test / std
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
aws-sdk-spec-test / std
Process completed with exit code 1.
aws-sdk-spec-test / on_deploy
Process completed with exit code 1.
aws-sdk-spec-test / on_deploy
Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers
Quality Gate
Process completed with exit code 1.
Test: apps/wing-console/console/design-system/src/tabs.tsx#L39
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
Test: apps/wing-console/console/ui/src/features/auto-updater.tsx#L31
React Hook useEffect has a missing dependency: 'checkForUpdates'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/features/console-logs-filters.tsx#L58
React Hook useEffect has a missing dependency: 'logLevelNames'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/features/console-logs-filters.tsx#L62
React Hook useEffect has a missing dependency: 'selectedLogTypeFilters'. Either include it or remove the dependency array. If 'setDefaultSelection' needs the current value of 'selectedLogTypeFilters', you can also switch to useReducer instead of useState and read 'selectedLogTypeFilters' in the reducer
Test: apps/wing-console/console/ui/src/layout/use-layout.tsx#L53
React Hook useCallback has a missing dependency: 'setSelectedItems'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/layout/use-layout.tsx#L58
React Hook useCallback has a missing dependency: 'onSelectedItemsChange'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/services/use-api.ts#L25
React Hook useEffect has a missing dependency: 'onFetchDataUpdate'. Either include it or remove the dependency array. If 'onFetchDataUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
Test: apps/wing-console/console/ui/src/services/use-api.ts#L32
React Hook useEffect has a missing dependency: 'onSchemaDataUpdate'. Either include it or remove the dependency array. If 'onSchemaDataUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
Test: apps/wing-console/console/ui/src/services/use-explorer.tsx#L76
React Hook useEffect has a missing dependency: 'setSelectedNode'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/ui/api-interaction.tsx#L121
React Hook useCallback has a missing dependency: 'callFetch'. Either include it or remove the dependency array. If 'callFetch' changes too often, find the parent component that defines it and wrap that definition in useCallback

Artifacts

Produced during runtime
Name Size
benchmarks Expired
12.5 KB
dist Expired
27.2 MB