refactor: use sharded WAL #3917
code-pushup.yml
on: pull_request
Standalone mode
9m 53s
Monorepo mode
13m 31s
Annotations
13 errors and 10 warnings
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.unit.test.ts#L43
TS2322: Type '{ baseName: string; walExtension: string; }' is not assignable to type 'undefined'.
|
|
<✓> TypeScript | Semantic errors:
packages/utils/src/lib/wal-sharded.unit.test.ts#L14
TS2344: Type 'Function' does not satisfy the constraint '(...args: any) => any'.
Type 'Function' provides no match for the signature '(...args: any): any'.
|
|
<✓> 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'.
|
|
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 the use of `console`:
packages/utils/src/lib/profiler/profiler-node.int.test.ts#L468
Unexpected console statement.
|
|
<✓> ESLint | Disallow the use of `console`:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L63
Unexpected console statement.
|
|
<✓> ESLint | Disallow the use of `console`:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L55
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#L68
Only use `process.exit()` in CLI apps. Throw an error instead.
|
|
<✓> ESLint | Disallow `process.exit()`.:
packages/utils/mocks/multiprocess-profiling/profiler-worker.mjs#L65
Only use `process.exit()` in CLI apps. Throw an error instead.
|
|
<✓> 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.
|
|
<✓> ESLint | Template literals should not be nested:
packages/utils/src/lib/profiler/profiler-node.int.test.ts#L424
Refactor this code to not use nested template literals.
|