child_process: add fast path for spawn
#61391
Annotations
4 errors and 1 notice
Test:
test/parallel/test-child-process-reject-null-bytes.js#L93
--- stderr ---
node:assert:128
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Missing expected exception (TypeError).
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-child-process-reject-null-bytes.js:93:1)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Function._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: { code: 'ERR_INVALID_ARG_VALUE', name: 'TypeError' },
operator: 'throws'
}
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-child-process-reject-null-bytes.js
|
Test:
test/parallel/test-child-process-spawn-typeerror.js#L70
--- stderr ---
node:assert:128
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Missing expected exception (TypeError).
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-child-process-spawn-typeerror.js:70:8)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Function._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: { code: 'ERR_INVALID_ARG_TYPE', name: 'TypeError' },
operator: 'throws'
}
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-child-process-spawn-typeerror.js
|
Test:
test/sequential/test-perf-hooks.js#L61
--- stderr ---
node:internal/assert/utils:281
throw err;
^
AssertionError [ERR_ASSERTION]: now (98.068625) - timing.duration (73.691917) = 24.376707999999994 >= 10
at checkNodeTiming (/Users/runner/work/node/node/node/test/sequential/test-perf-hooks.js:61:3)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/sequential/test-perf-hooks.js:78:1)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Function._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v24.0.0-pre
--- stdout ---
check initial nodeTiming
{
"name": "node",
"entryType": "node",
"startTime": 0,
"duration": 73.691917,
"nodeStart": 9.247291999869049,
"v8Start": 13.206499999389052,
"environment": 17.172375000081956,
"loopStart": -1,
"loopExit": -1,
"bootstrapComplete": 20.193083999678493,
"idleTime": 0,
"uvMetricsInfo": {
"loopCount": 0,
"events": 0,
"eventsWaiting": 0
}
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/sequential/test-perf-hooks.js
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading