fix: make the suites portable and vet watch paths at the HTTP edge #37
ci.yml
on: push
Matrix: test
Lint
1m 7s
linux-x64-musl
6m 37s
Sanitizers (ASan + UBSan)
29s
JS fallback (no native binary)
28s
Minimum supported Rust version
46s
Dependency audit
3m 12s
CI passed
4s
Annotations
19 errors
|
test/parity.test.mjs > engine: native (mock addon, stat diffing) > reports a rename as an unlink of the old path and an add of the new:
src/bindings/nodejs/lib/engine.js#L116
Error: native engine requested but unavailable: forced to the JavaScript engine by environment
❯ getEngine lib/engine.js:116:19
❯ new Retrigger lib/retrigger.js:70:19
❯ make test/parity.test.mjs:35:29
❯ start test/shared/engine-suite.mjs:66:23
❯ test/shared/engine-suite.mjs:116:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_RETRIGGER_NO_NATIVE' }
|
|
test/parity.test.mjs > engine: native (mock addon, stat diffing) > reports a removed file as "deleted":
src/bindings/nodejs/lib/engine.js#L116
Error: native engine requested but unavailable: forced to the JavaScript engine by environment
❯ getEngine lib/engine.js:116:19
❯ new Retrigger lib/retrigger.js:70:19
❯ make test/parity.test.mjs:35:29
❯ start test/shared/engine-suite.mjs:66:23
❯ test/shared/engine-suite.mjs:104:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_RETRIGGER_NO_NATIVE' }
|
|
test/parity.test.mjs > engine: native (mock addon, stat diffing) > reports a rewritten file as "modified":
src/bindings/nodejs/lib/engine.js#L116
Error: native engine requested but unavailable: forced to the JavaScript engine by environment
❯ getEngine lib/engine.js:116:19
❯ new Retrigger lib/retrigger.js:70:19
❯ make test/parity.test.mjs:35:29
❯ start test/shared/engine-suite.mjs:66:23
❯ test/shared/engine-suite.mjs:92:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_RETRIGGER_NO_NATIVE' }
|
|
test/parity.test.mjs > engine: native (mock addon, stat diffing) > reports a new file as "created":
src/bindings/nodejs/lib/engine.js#L116
Error: native engine requested but unavailable: forced to the JavaScript engine by environment
❯ getEngine lib/engine.js:116:19
❯ new Retrigger lib/retrigger.js:70:19
❯ make test/parity.test.mjs:35:29
❯ start test/shared/engine-suite.mjs:66:23
❯ test/shared/engine-suite.mjs:80:37
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_RETRIGGER_NO_NATIVE' }
|
|
test/parity.test.mjs > the mock addon really is loaded as native > uses a different hash algorithm from the JavaScript engine, and says so:
src/bindings/nodejs/lib/engine.js#L116
Error: native engine requested but unavailable: forced to the JavaScript engine by environment
❯ getEngine lib/engine.js:116:19
❯ test/parity.test.mjs:50:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_RETRIGGER_NO_NATIVE' }
|
|
test/parity.test.mjs > the mock addon really is loaded as native > resolves to the native engine, not a JavaScript stand-in:
src/bindings/nodejs/lib/engine.js#L116
Error: native engine requested but unavailable: forced to the JavaScript engine by environment
❯ getEngine lib/engine.js:116:19
❯ test/parity.test.mjs:43:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_RETRIGGER_NO_NATIVE' }
|
|
test/loader.test.mjs > require() never throws (subprocess) > loads when the addon exists but exports the wrong shape:
src/bindings/nodejs/test/loader.test.mjs#L279
AssertionError: expected 'forced to the JavaScript engine by en…' to contain 'missing required export'
Expected: "missing required export"
Received: "forced to the JavaScript engine by environment"
❯ test/loader.test.mjs:279:25
|
|
test/loader.test.mjs > require() never throws (subprocess) > loads when the addon file is corrupt binary garbage:
src/bindings/nodejs/test/loader.test.mjs#L270
TypeError: Cannot read properties of undefined (reading 'error')
❯ test/loader.test.mjs:270:35
|
|
test/loader.test.mjs > require() never throws (subprocess) > loads when the addon throws during its own evaluation:
src/bindings/nodejs/test/loader.test.mjs#L260
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ test/loader.test.mjs:260:33
|
|
test/loader.test.mjs > require() never throws (subprocess) > loads and reports "native" when a conforming addon is present:
src/bindings/nodejs/test/loader.test.mjs#L249
AssertionError: expected 'javascript' to be 'native' // Object.is equality
Expected: "native"
Received: "javascript"
❯ test/loader.test.mjs:249:25
|
|
windows-x64 / node 22
Process completed with exit code 1.
|
|
windows-x64 / node 20
Process completed with exit code 1.
|
|
macos-arm64 / node 18
Process completed with exit code 101.
|
|
macos-arm64 / node 22
Process completed with exit code 101.
|
|
linux-x64-musl
Process completed with exit code 1.
|
|
test/api-contract.test.mjs > package manifest > points every script at something that exists:
src/bindings/nodejs/test/api-contract.test.mjs#L252
AssertionError: script "bench": expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/api-contract.test.mjs:252:83
|
|
macos-x64 / node 22
Canceling since a higher priority waiting request for ci-refs/heads/main exists
|
|
CI
Canceling since a higher priority waiting request for ci-refs/heads/main exists
|
|
CI passed
Process completed with exit code 1.
|