Skip to content

fix(log explorer): show PPL errors in toasts correctly #1947

fix(log explorer): show PPL errors in toasts correctly

fix(log explorer): show PPL errors in toasts correctly #1947

Triggered via pull request September 10, 2024 20:16
Status Success
Total duration 4m 37s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, lots0logs/gh-action-get-changed-files@2.2.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/event_analytics/explorer/explorer.tsx#L211
React Hook useMemo has a missing dependency: 'dataSourcePluggables'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L279
Unexpected any. Specify a different type
Lint: public/components/event_analytics/explorer/explorer.tsx#L320
React Hook useEffect has missing dependencies: 'dispatch', 'historyFromRedirection.location.state', 'setEndTime', 'setStartTime', and 'tabId'. Either include them or remove the dependency array. If 'setStartTime' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/event_analytics/explorer/explorer.tsx#L347
React Hook useEffect has a missing dependency: 'http'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L350
Unexpected any. Specify a different type
Lint: public/components/event_analytics/explorer/explorer.tsx#L465
React Hook useEffect has missing dependencies: 'callback', 'callbackInApp', and 'prepareAvailability'. Either include them or remove the dependency array. Mutable values like 'appBasedRef.current' aren't valid dependencies because mutating them doesn't re-render the component
Lint: public/components/event_analytics/explorer/explorer.tsx#L474
React Hook useEffect has a missing dependency: 'routerContext'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L481
React Hook useEffect has a missing dependency: 'updateTabData'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L568
React Hook useMemo has missing dependencies: 'isLiveTailOn' and 'liveHits'. Either include them or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L697
React Hook useMemo has missing dependencies: 'dispatch', 'endTime', 'explorerSearchMeta?.datasources', 'getCountVisualizations', 'getErrorHandler', 'getPatterns', 'getTimeChartRange', 'handleTimeRangePickerRefresh', 'http', 'liveTimestamp', 'pplService', 'requestParams', 'showTimeBasedComponents', 'startTime', 'tabId', 'timeIntervalOptions', and 'totalHits'. Either include them or remove the dependency array. Mutable values like 'isLiveTailOnRef.current' aren't valid dependencies because mutating them doesn't re-render the component