Skip to content

fix(vscode): hover doesn't work in inflight initializer (#4310) #11330

fix(vscode): hover doesn't work in inflight initializer (#4310)

fix(vscode): hover doesn't work in inflight initializer (#4310) #11330

Triggered via push September 27, 2023 18:15
Status Success
Total duration 30m 39s
Artifacts 2

build.yml

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

Annotations

11 warnings
Test: apps/wing-console/packages/use-persistent-state/src/index.tsx#L71
React Hook useEffect has a missing dependency: 'state'. Either include it or remove the dependency array
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
Publish
The following actions uses node12 which is deprecated and will be forced to run on node16: tvdias/[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/

Artifacts

Produced during runtime
Name Size
benchmarks Expired
9.13 KB
dist Expired
27.1 MB