refactor: use sharded WAL #3910
code-pushup.yml
on: pull_request
Standalone mode
9m 35s
Monorepo mode
13m 11s
Annotations
13 errors and 10 warnings
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L226
TS2322: Type 'ShardedWal<object>' is not assignable to type 'ShardedWal<string>'.
The types of '#format.codec.encode' are incompatible between these types.
Type '(v: object) => string' is not assignable to type '(v: string) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'string' is not assignable to type 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L191
TS2322: Type 'ShardedWal<object>' is not assignable to type 'ShardedWal<string>'.
The types of '#format.codec.encode' are incompatible between these types.
Type '(v: object) => string' is not assignable to type '(v: string) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'string' is not assignable to type 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L151
TS2322: Type 'ShardedWal<object>' is not assignable to type 'ShardedWal<string>'.
The types of '#format.codec.encode' are incompatible between these types.
Type '(v: object) => string' is not assignable to type '(v: string) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'string' is not assignable to type 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L121
TS2322: Type 'Codec<string | InvalidEntry<string>, string>' is not assignable to type 'Codec<object, string>'.
Types of property 'encode' are incompatible.
Type '(v: string | InvalidEntry<string>) => string' is not assignable to type '(v: object) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'object' is not assignable to type 'string | InvalidEntry<string>'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L115
TS2322: Type 'ShardedWal<object>' is not assignable to type 'ShardedWal<string>'.
The types of '#format.codec.encode' are incompatible between these types.
Type '(v: object) => string' is not assignable to type '(v: string) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'string' is not assignable to type 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L73
TS2322: Type 'ShardedWal<object>' is not assignable to type 'ShardedWal<string>'.
The types of '#format.codec.encode' are incompatible between these types.
Type '(v: object) => string' is not assignable to type '(v: string) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'string' is not assignable to type 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L35
TS2322: Type 'ShardedWal<object>' is not assignable to type 'ShardedWal<string>'.
The types of '#format.codec.encode' are incompatible between these types.
Type '(v: object) => string' is not assignable to type '(v: string) => string'.
Types of parameters 'v' and 'v' are incompatible.
Type 'string' is not assignable to type 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.int.test.ts#L16
TS2344: Type 'string' does not satisfy the constraint 'object'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/profiler/trace-file-utils.ts#L121
TS2353: Object literal may only specify known properties, and 'frameTreeNodeId' does not exist in type '{ detail?: unknown; }'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/profiler/trace-file-utils.ts#L121
TS2353: Object literal may only specify known properties, and 'frameTreeNodeId' does not exist in type '{ detail?: unknown; }'.
|
|
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 imperative loops.:
packages/utils/src/lib/profiler/profiler-node.int.test.ts#L193
Unexpected loop, use map or reduce instead.
|
|
<✓> ESLint | Disallow imperative loops.:
packages/utils/mocks/omit-trace-json.ts#L408
Unexpected loop, use map or reduce instead.
|
|
<✓> ESLint | Disallow imperative loops.:
packages/utils/mocks/omit-trace-json.ts#L254
Unexpected loop, use map or reduce instead.
|
|
<✓> ESLint | Disallow imperative loops.:
packages/utils/mocks/multiprocess-profiling/utils.ts#L81
Unexpected loop, use map or reduce instead.
|
|
<✓> ESLint | Disallow imperative loops.:
packages/utils/mocks/multiprocess-profiling/utils.ts#L73
Unexpected loop, use map or reduce instead.
|
|
<✓> ESLint | Disallow the use of `console`:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L53
Unexpected console statement.
|
|
<✓> ESLint | Prefer top-level await over top-level promises and async function calls.:
packages/utils/mocks/multiprocess-profiling/profiler-worker-child.mjs#L8
Prefer top-level await over an async IIFE.
|
|
<✓> ESLint | Prefer `Number` static properties over global ones.:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L15
Prefer `Number.isNaN` over `isNaN`.
|
|
<✓> ESLint | Disallow `process.exit()`.:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L17
Only use `process.exit()` in CLI apps. Throw an error instead.
|
|
<✓> ESLint | Disallow `process.exit()`.:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L11
Only use `process.exit()` in CLI apps. Throw an error instead.
|