Skip to content

Traces custom source - Bug Fixes #2338

Traces custom source - Bug Fixes

Traces custom source - Bug Fixes #2338

Triggered via pull request December 21, 2024 00:43
Status Success
Total duration 4m 26s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/trace_analytics/components/common/plots/service_map.tsx#L39
Unexpected any. Specify a different type
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L94
Unexpected any. Specify a different type
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L116
Unexpected any. Specify a different type
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L126
Unexpected any. Specify a different type
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L152
React Hook useEffect has missing dependencies: 'includeMetricsCallback' and 'metricOptions'. Either include them or remove the dependency array. If 'includeMetricsCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L354
React Hook useEffect has a missing dependency: 'selectedNodeDetails'. Either include it or remove the dependency array
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L381
React Hook useEffect has a missing dependency: 'currService'. Either include it or remove the dependency array. If 'setItems' needs the current value of 'currService', you can also switch to useReducer instead of useState and read 'currService' in the reducer
Lint: public/components/trace_analytics/components/common/plots/service_map.tsx#L530
Unexpected any. Specify a different type
Lint: public/components/trace_analytics/components/traces/traces_content.tsx#L169
Unexpected any. Specify a different type