fix: satisfy Linux lint guards #74
ci.yml
on: push
preflight
10s
Matrix: check-additional-shard
Matrix: check-shard
Matrix: checks-fast-channel-contracts-shard
Matrix: checks-node-core-test-nondist-shard
Matrix: checks-node-extensions-shard
checks-fast-protocol
22s
checks-node-compat-node22
0s
check-docs
0s
skills-python
0s
macos-swift
0s
Matrix: android
Matrix: checks-fast-core
Matrix: checks-windows
Matrix: macos-node
security-fast
2s
Matrix: checks-node-core-test-dist-shard
build-smoke
3s
Matrix: checks
check-additional
3s
check
4s
checks-fast-contracts-channels
2s
checks-node-extensions
2s
checks-node-core
4s
Annotations
19 errors
|
checks-node-core-fast-support
Process completed with exit code 1.
|
|
[unit-fast] src/agents/skills.sherpa-onnx-tts-bin.test.ts > skills/sherpa-onnx-tts bin script > loads as ESM and falls through to usage output when env is missing:
src/agents/skills.sherpa-onnx-tts-bin.test.ts#L19
AssertionError: expected 'node:internal/modules/cjs/loader:1459…' to contain 'Missing runtime/model directory.'
- Expected
+ Received
- Missing runtime/model directory.
+ node:internal/modules/cjs/loader:1459
+ throw err;
+ ^
+
+ Error: Cannot find module '/home/runner/work/sparse-kernel/sparse-kernel/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts'
+ at Module._resolveFilename (node:internal/modules/cjs/loader:1456:15)
+ at defaultResolveImpl (node:internal/modules/cjs/loader:1066:19)
+ at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1071:22)
+ at Module._load (node:internal/modules/cjs/loader:1242:25)
+ at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
+ at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
+ at node:internal/main/run_main_module:33:47 {
+ code: 'MODULE_NOT_FOUND',
+ requireStack: []
+ }
+
+ Node.js v24.14.1
+
❯ src/agents/skills.sherpa-onnx-tts-bin.test.ts:19:27
|
|
checks-node-auto-reply-reply-commands-state-routing
Process completed with exit code 1.
|
|
[auto-reply-reply] src/auto-reply/reply/export-html/template.security.test.ts:
src/auto-reply/reply/export-html/template.security.test.ts#L46
Error: ENOENT: no such file or directory, open '/home/runner/work/sparse-kernel/sparse-kernel/src/auto-reply/reply/export-html/vendor/marked.min.js'
❯ src/auto-reply/reply/export-html/template.security.test.ts:46:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/sparse-kernel/sparse-kernel/src/auto-reply/reply/export-html/vendor/marked.min.js' }
|
|
eslint-plugin-unicorn(no-useless-fallback-in-spread):
src/local-kernel/sandbox-broker.ts#L920
Empty fallbacks in spreads are unnecessary
|
|
eslint(preserve-caught-error):
src/local-kernel/sandbox-broker.ts#L1448
There is no cause error attached to this new thrown error.
|
|
eslint-plugin-unicorn(no-useless-spread):
packages/browser-broker/src/index.test.ts#L490
Using a spread operator here creates a new array unnecessarily.
|
|
eslint-plugin-unicorn(prefer-array-find):
packages/browser-broker/src/index.ts#L2364
Prefer `find` over filtering and accessing the first result.
|
|
eslint-plugin-unicorn(no-useless-spread):
packages/browser-broker/src/index.ts#L1917
Using a spread operator here creates a new array unnecessarily.
|
|
eslint-plugin-unicorn(no-array-sort):
packages/browser-broker/src/index.ts#L2146
Use `Array#toSorted()` instead of `Array#sort()`.
|
|
eslint(no-useless-escape):
packages/browser-broker/src/index.ts#L2416
Unnecessary escape character '"'
|
|
eslint(no-new):
packages/browser-broker/src/index.ts#L2178
Do not use 'new' for side effects.
|
|
eslint(no-else-return):
packages/browser-broker/src/index.ts#L2287
Unnecessary `else` after `return`.
|
|
eslint-plugin-unicorn(prefer-negative-index):
src/commands/runtime.ts#L289
Prefer negative index over `.length - index` when possible.
|
|
check
Process completed with exit code 1.
|
|
[tooling] ../../src/scripts/test-projects.test.ts > test-projects args > widens non-test helper file targets to sibling tests inside the routed suite:
src/scripts/test-projects.test.ts#L615
AssertionError: expected [ { …(4) } ] to deeply equal [ { …(4) } ]
- Expected
+ Received
@@ -1,8 +1,8 @@
[
{
- "config": "test/vitest/vitest.gateway.config.ts",
+ "config": "test/vitest/vitest.gateway-core.config.ts",
"forwardedArgs": [],
"includePatterns": [
"src/gateway/**/*.test.ts",
],
"watchMode": false,
❯ ../../src/scripts/test-projects.test.ts:615:83
|
|
[tooling] ../../src/scripts/test-projects.test.ts > test-projects args > routes gateway targets to the gateway config:
src/scripts/test-projects.test.ts#L391
AssertionError: expected [ { …(4) } ] to deeply equal [ { …(4) } ]
- Expected
+ Received
@@ -1,8 +1,8 @@
[
{
- "config": "test/vitest/vitest.gateway.config.ts",
+ "config": "test/vitest/vitest.gateway-core.config.ts",
"forwardedArgs": [],
"includePatterns": [
"src/gateway/call.test.ts",
],
"watchMode": false,
❯ ../../src/scripts/test-projects.test.ts:391:63
|
|
checks-node-core-support-boundary
Process completed with exit code 1.
|
|
checks-node-core
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
canvas-a2ui-bundle
Expired
|
116 KB |
sha256:2b382857482b432b27756c0a2bdf8af6602571abce3b2d8c16328cdf18767349
|
|
|
dist-runtime-build
Expired
|
182 MB |
sha256:a87410065cfdfa9df42b9cfa72a4a30ee910c26efbcc8206922cb2727152efec
|
|
|
gateway-watch-regression
Expired
|
1.08 MB |
sha256:3e8c786fc03211bbbb494ef5d899da1d64ed1e1b003e0d3fd36affea9e4ffd96
|
|