feat(utils): add WriteAheadLog classes #3720
code-pushup.yml
on: pull_request
Standalone mode
8m 2s
Monorepo mode
13m 7s
Annotations
10 errors and 10 warnings
|
<✓> ESLint | Disallow unused variables:
packages/utils/src/lib/sink-source.type.ts#L10
'O' is defined but never used.
|
|
<✓> ESLint | Require the use of `===` and `!==`:
packages/utils/src/lib/file-sink.ts#L100
Expected '==' and instead saw '==='.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/sink-source.type.ts#L78
TS2345: Argument of type '{ lineNo: number; line: string; error: Error; }' is not assignable to parameter of type 'never'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/profiler/trace-file-utils.ts#L331
TS2322: Type '{ args: UserTimingDetail; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | "i" | "X" | "e"; }' is not assignable to type 'TraceEvent'.
Type '{ args: UserTimingDetail; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | "i" | "X" | "e"; }' is not assignable to type 'CompleteEvent | BeginEvent | EndEvent'.
Type '{ args: UserTimingDetail; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | "i" | "X" | "e"; }' is not assignable to type 'EndEvent'.
Property 'id2' is missing in type '{ args: UserTimingDetail; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | "i" | "X" | "e"; }' but required in type '{ id2: { local: string; }; args: SpanEventArgs; }'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/profiler/trace-file-utils.ts#L322
TS2322: Type '{ args: { data: UserTimingDetail; devtools?: TrackEntryPayload | MarkerPayload | undefined; }; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | ... 2 more ... | "e"; }' is not assignable to type 'TraceEvent'.
Type '{ args: { data: UserTimingDetail; devtools?: TrackEntryPayload | MarkerPayload | undefined; }; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | ... 2 more ... | "e"; }' is not assignable to type 'CompleteEvent | BeginEvent | EndEvent'.
Type '{ args: { data: UserTimingDetail; devtools?: TrackEntryPayload | MarkerPayload | undefined; }; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | ... 2 more ... | "e"; }' is not assignable to type 'EndEvent'.
Property 'id2' is missing in type '{ args: { data: UserTimingDetail; devtools?: TrackEntryPayload | MarkerPayload | undefined; }; name: string; ts: number; cat: string; pid: number; tid: number; ph: "b" | ... 2 more ... | "e"; }' but required in type '{ i…
|
|
<✓> TypeScript | Semantic errors:
packages/utils/mocks/sink.mock.ts#L5
TS2564: Property 'getPath' has no initializer and is not definitely assigned in the constructor.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/mocks/sink.mock.ts#L4
TS2564: Property 'setPath' has no initializer and is not definitely assigned in the constructor.
|
|
Monorepo mode
Process completed with exit code 1.
|
|
Monorepo mode
Process failed with exit code 130
|
|
Monorepo mode
[Code PushUp GitHub action] Failed: Process failed with exit code 130
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L75
Unexpected sync method: 'readFileSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L71
Unexpected sync method: 'existsSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L63
Unexpected sync method: 'readFileSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L59
Unexpected sync method: 'existsSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L50
Unexpected sync method: 'fsyncSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L44
Unexpected sync method: 'closeSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L37
Unexpected sync method: 'writeSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L30
Unexpected sync method: 'openSync'.
|
|
<✓> ESLint | disallow synchronous methods:
packages/utils/src/lib/file-sink.ts#L29
Unexpected sync method: 'mkdirSync'.
|
|
<✓> ESLint | Enforce a maximum cyclomatic complexity allowed in a program:
packages/utils/src/lib/profiler/file-sink-json-trace.ts#L32
Function 'finalizeTraceFile' has a complexity of 25. Maximum allowed is 20.
|