ix(lint): fix 10 TypeScript errors across 3 test files and example #10
Annotations
4 errors and 44 warnings
|
build (windows-latest, 22)
Process completed with exit code 1.
|
|
test/coverage-boost.test.ts > LocalBackend — additional edge cases > writeFile creates parent directories:
src/sandbox/backend.ts#L86
SandboxError: Path must be absolute: C:\Users\RUNNER~1\AppData\Local\Temp\clashcode-test-44f6bcac\deep\nested\dir\file.txt
❯ validateSandboxPath src/sandbox/backend.ts:86:33
❯ LocalBackend.writeFile src/sandbox/backends/local.ts:77:5
❯ test/coverage-boost.test.ts:147:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'SANDBOX_ERROR' }
|
|
test/coverage-boost.test.ts > LocalBackend — additional edge cases > exec respects env option:
test/coverage-boost.test.ts#L138
AssertionError: expected '$TEST_VAR' to be 'hello123' // Object.is equality
Expected: "hello123"
Received: "$TEST_VAR"
❯ test/coverage-boost.test.ts:138:34
|
|
test/coverage-boost.test.ts > LocalBackend — additional edge cases > exec respects cwd option:
test/coverage-boost.test.ts#L130
Error: ENOENT: no such file or directory, lstat 'D:\tmp'
❯ test/coverage-boost.test.ts:130:39
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\tmp' }
|
|
build (ubuntu-latest, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build (ubuntu-latest, 22):
test/coverage-boost.test.ts#L20
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L443
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L434
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L423
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L399
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L379
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L361
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L310
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L293
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 22):
test/consensus-pluggable.test.ts#L280
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build (ubuntu-latest, 20):
test/coverage-boost.test.ts#L20
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L443
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L434
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L423
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L399
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L379
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L361
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L310
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L293
Unexpected any. Specify a different type
|
|
build (ubuntu-latest, 20):
test/consensus-pluggable.test.ts#L280
Unexpected any. Specify a different type
|
|
build (macos-14, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build (macos-14, 22):
test/coverage-boost.test.ts#L20
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L443
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L434
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L423
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L399
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L379
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L361
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L310
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L293
Unexpected any. Specify a different type
|
|
build (macos-14, 22):
test/consensus-pluggable.test.ts#L280
Unexpected any. Specify a different type
|
|
build (windows-latest, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build (windows-latest, 22):
test/coverage-boost.test.ts#L20
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L443
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L434
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L423
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L399
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L379
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L361
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L310
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L293
Unexpected any. Specify a different type
|
|
build (windows-latest, 22):
test/consensus-pluggable.test.ts#L280
Unexpected any. Specify a different type
|