Skip to content

Merge branch 'master' of github.com:atlas-bi/System # Please enter a … #160

Merge branch 'master' of github.com:atlas-bi/System # Please enter a …

Merge branch 'master' of github.com:atlas-bi/System # Please enter a … #160

Triggered via push September 15, 2023 13:24
Status Cancelled
Total duration 2m 36s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 10 warnings
✓ ShellCheck
Process completed with exit code 1.
⚫️ Cypress
Process completed with exit code 1.
⚡ Vitest
Process completed with exit code 1.
⬣ ESLint: app/components/charts/cpuChart.tsx#L1
'MonitorFeeds' is defined but never used
⬣ ESLint: app/components/charts/cpuChart.tsx#L1
'CpuUsage' is defined but never used
⬣ ESLint: app/components/charts/cpuChart.tsx#L34
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L35
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L35
'H2' is defined but never used
⬣ ESLint: app/components/charts/cpuChart.tsx#L36
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L37
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L38
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/databaseMemoryChart.tsx#L32
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/databaseMemoryChart.tsx#L33
Import in body of module; reorder to top
ʦ TypeScript
The run was canceled by @github-actions.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L154
Argument of type '{ responsive: boolean; maintainAspectRatio: boolean; interaction: { intersect: boolean; mode: "index"; }; animation: { duration: number; }; plugins: { title: { display: boolean; }; legend: { display: boolean; }; tooltip: { ...; }; }; scales: { ...; }; }' is not assignable to parameter of type '_DeepPartialObject<CoreChartOptions<"line"> & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions> | (() => _DeepPartialObject<...>)'.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L249
Argument of type '{ responsive: boolean; maintainAspectRatio: boolean; interaction: { intersect: boolean; mode: "index"; }; animation: { duration: number; }; plugins: { title: { display: boolean; }; legend: { display: boolean; }; tooltip: { ...; }; }; scales: { ...; }; }' is not assignable to parameter of type 'SetStateAction<_DeepPartialObject<CoreChartOptions<"line"> & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions>>'.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L253
Type 'RefObject<ChartJSOrUndefined>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"line", { x: Date; y: number; }[], unknown>> | undefined'.
ʦ TypeScript: app/components/charts/databaseMemoryChart.tsx#L225
Argument of type '{ datasets: { spanGaps: number; fill: boolean; label: string; cubicInterpolationMode: string; tension: number; data: any; segment: { borderColor: (ctx: { p0: { stop: any; }; p1: { stop: any; };}) => CanvasGradient | "transparent" | undefined; backgroundColor: (ctx: { p0: { stop: a...' is not assignable to parameter of type 'SetStateAction<ChartData<"bar", (number | [number, number] | null)[], unknown>>'.
ʦ TypeScript: app/components/charts/databaseMemoryChart.tsx#L245
Type 'RefObject<Chart<keyof ChartTypeRegistry, (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>> | undefined'.
ʦ TypeScript: app/components/charts/databaseMemoryChart.tsx#L245
Type '{ responsive: boolean; maintainAspectRatio: boolean; interaction: { intersect: boolean; mode: string; }; animation: { duration: number; resize: { duration: number; }; active: { duration: number; }; }; plugins: { ...; }; scales: { ...; }; }' is not assignable to type '_DeepPartialObject<CoreChartOptions<"line"> & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions>'.
ʦ TypeScript: app/components/charts/databaseMemoryChart.tsx#L245
Type 'ChartData<"bar", (number | [number, number] | null)[], unknown>' is not assignable to type 'ChartData<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>'.
ʦ TypeScript: app/components/charts/driveChart.tsx#L35
Module '"~/models/monitor.server"' has no exported member 'DriveUsage'.
ʦ TypeScript: app/components/charts/driveChart.tsx#L236
Argument of type '{ datasets: ({ spanGaps: number; fill: boolean; label: string; cubicInterpolationMode: string; tension: number; data: any; segment: { borderColor: (ctx: { p0: { stop: any; }; p1: { stop: any; };}) => CanvasGradient | "transparent" | undefined; backgroundColor: (ctx: { p0: { stop: ...' is not assignable to parameter of type 'SetStateAction<ChartData<"bar", (number | [number, number] | null)[], unknown>>'.
ʦ TypeScript: app/components/charts/driveChart.tsx#L272
Type 'RefObject<Chart<keyof ChartTypeRegistry, (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>> | undefined'.
ʦ TypeScript: .github/workflows/test.yml#L1
This run was manually canceled.
⬣ ESLint: app/components/charts/DateFilter.tsx#L1
Import "Dispatch" is only used as types
⬣ ESLint: app/components/charts/cpuChart.tsx#L2
Imports "ChartData", "TooltipItem", "Tick", "Scale" and "ChartOptions" are only used as types
⬣ ESLint: app/components/charts/cpuChart.tsx#L38
All imports in the declaration are only used as types. Use `import type`
⬣ ESLint: app/components/charts/cpuChart.tsx#L152
React Hook useCallback has missing dependencies: 'endDate', 'speed', and 'startDate'. Either include them or remove the dependency array
⬣ ESLint: app/components/charts/cpuChart.tsx#L162
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/cpuChart.tsx#L251
React Hook useEffect has missing dependencies: 'getOptions', 'speed', and 'unit'. Either include them or remove the dependency array
⬣ ESLint: app/components/charts/cpuChart.tsx#L268
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
⬣ ESLint: app/components/charts/databaseMemoryChart.tsx#L3
Import "Unit" is only used as types
⬣ ESLint: app/components/charts/databaseMemoryChart.tsx#L4
Import "ChartData" is only used as types
⬣ ESLint: app/components/charts/databaseMemoryChart.tsx#L123
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array