Skip to content

Fixing TS errors

Fixing TS errors #23

Triggered via push March 18, 2024 16:09
Status Failure
Total duration 4m 31s
Artifacts

unit-test.yml

on: push
Matrix: api-eol-node-test
Matrix: node-tests
Fit to window
Zoom out
Zoom in

Annotations

70 errors
node-tests (16): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (16): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (16): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (16): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (16): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (16): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (16): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (16): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (16): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (16)
Process completed with exit code 2.
webworker-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
webworker-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
webworker-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
webworker-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
webworker-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
webworker-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
webworker-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
webworker-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
webworker-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
webworker-tests
Process completed with exit code 2.
node-tests (20): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (20): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (20): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (20): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (20): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (20): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (20): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (20): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (20): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (20)
Process completed with exit code 2.
node-tests (14): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (14): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (14): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (14): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (14): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (14): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (14): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (14): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (14): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (14)
Process completed with exit code 2.
node-tests (18): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (18): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (18): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (18): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (18): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (18): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (18): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-tests (18): packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-tests (18): packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-tests (18)
Process completed with exit code 2.
browser-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
browser-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
browser-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
browser-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
browser-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
browser-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
browser-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
browser-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
browser-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
browser-tests
Process completed with exit code 2.
node-windows-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-windows-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-windows-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-windows-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-windows-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-windows-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-windows-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L241
Type 'number' is not assignable to type 'Timeout | undefined'.
node-windows-tests: packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts#L242
Argument of type 'Timeout | undefined' is not assignable to parameter of type 'Timer'.
node-windows-tests: packages/sdk-metrics/src/export/PeriodicExportingMetricReader.ts#L157
Argument of type 'number' is not assignable to parameter of type 'Timer'.
node-windows-tests
Process completed with exit code 1.