fix: keep proxies opaque in util.inspect when showProxy is false #70593
Triggered via pull request
December 15, 2025 06:18
Status
Failure
Total duration
2h 17m 48s
Artifacts
–
Annotations
6 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-util-types.js#L54
--- stderr ---
node:internal/util/inspect:1141
const maybeCustom = value[customInspectSymbol];
^
TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-util-types.js:54:52)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
Node.js v26.0.0-pre
Command: out/Release/node --experimental-vm-modules --expose-internals --allow-natives-syntax /Users/runner/work/node/node/node/test/parallel/test-util-types.js
|
|
test-macOS:
test/parallel/test-util-inspect-proxy.js#L45
--- stderr ---
node:internal/util/inspect:1141
const maybeCustom = value[customInspectSymbol];
^
TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at formatWithOptionsInternal (node:internal/util/inspect:2811:27)
at Object.format (node:internal/util/inspect:2758:10)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-util-inspect-proxy.js:45:6)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /Users/runner/work/node/node/node/test/parallel/test-util-inspect-proxy.js
|
|
test-macOS:
test/parallel/test-repl.js#L92
--- stderr ---
------------
out: ""
in: ""
------------
out: "message"
in: "'Read, Eval, Print Loop'"
------------
out: "invoke_me(987)"
in: "'invoked 987'"
------------
out: "a = 12345"
in: "12345"
------------
out: "{a:1}"
in: "{ a: 1 }"
------------
out: "throw new Error('test error');"
in: "Uncaught Error: test error"
------------
out: "throw { foo: 'bar' };"
in: "Uncaught { foo: 'bar' }"
------------
out: "function test_func() {"
in: "| "
------------
out: ".break"
in: ""
------------
out: "eval(\"function test_func() {\")"
in: "Uncaught SyntaxError: Unexpected end of input"
------------
out: "`io.js"
in: "| "
------------
out: ".break"
in: ""
------------
out: "`io.js ${\"1.0\""
in: "| "
------------
out: "+ \".2\"}`"
in: "'io.js 1.0.2'"
------------
out: "`io.js ${"
in: "| "
------------
out: "\"1.0\" + \".2\"}`"
in: "'io.js 1.0.2'"
------------
out: "(\"a\""
in: "| "
------------
out: ".charAt(0))"
in: "'a'"
------------
out: ".1234"
in: "0.1234"
------------
out: ".1+.1"
in: "0.2"
------------
out: "JSON.parse('{\"valid\": \"json\"}');"
in: "{ valid: 'json' }"
------------
out: "JSON.parse('{invalid: \\'json\\'}');"
in: "Uncaught:"
in: "SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)"
------------
out: "JSON.parse('066');"
in: "Uncaught SyntaxError: Unexpected number in JSON at position 1 (line 1 column 2)"
------------
out: "JSON.parse('{');"
in: "Uncaught:"
in: "SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)"
------------
out: "/(/;"
in: "/(/;"
in: "^^^"
in: ""
in: "Uncaught SyntaxError: Invalid regular expression: /(/: Unterminated group"
------------
out: "new RegExp(\"foo\", \"wrong modifier\");"
in: "Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'wrong modifier'"
------------
out: "(function() { \"use strict\"; return 0755; })()"
in: "(function() { \"use strict\"; return 0755; })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Octal literals are not allowed in strict mode."
------------
out: "(function(a, a, b) { \"use strict\"; return a + b + c; })()"
in: "(function(a, a, b) { \"use strict\"; return a + b + c; })()"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Duplicate parameter name not allowed in this context"
------------
out: "(function() { \"use strict\"; with (this) {} })()"
in: "(function() { \"use strict\"; with (this) {} })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Strict mode code may not include a with statement"
------------
out: "(function() { \"use strict\"; var x; delete x; })()"
in: "(function() { \"use strict\"; var x; delete x; })()"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Delete of an unqualified identifier in strict mode."
------------
out: "(function() { \"use strict\"; eval = 17; })()"
in: "(function() { \"use strict\"; eval = 17; })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Unexpected eval or arguments in strict mode"
------------
out: "(function() { \"use strict\"; if (true) function f() { } })()"
in: "(function() { \"use strict\"; if (true) function f() { } })()"
in: " ^^^^^^^^"
in: ""
in: "Uncaught:"
in: "SyntaxError: In strict mode code, functions can only be declared at top level or inside a block."
------------
out: "function blah() { return 1; }"
in: "undefined"
------------
out: "blah()"
in: "1"
------------
out: "var I = [1,2,3,function() {}]; I.pop()"
in: "[Function (anonymous)]"
------------
out: "{}),({}"
in: "| "
------------
out: "}"
in: "{}),({}"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Unexpected token ')'"
------------
out: "{ a: "
in: "| "
------------
out: "1 }"
in: "{ a: 1 }"
------------
out: "{ \"a\": "
in: "| "
------------
out: "1 }"
in: "{ a: 1 }"
------------
out: "class Foo { #private = true "
in: "| "
------------
out: "num = 123456789n"
in: "| "
------------
out: "static foo = \"bar\" }"
in: "undefined"
------------
out: "(fun
|
|
test-macOS:
test/parallel/test-common-must-not-call.js#L43
--- stderr ---
node:assert:456
throw err;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Comparison {}
- Comparison {
- code: 'ERR_ASSERTION'
- }
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:43:8)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at /Users/runner/work/node/node/node/test/common/index.js:563:53
at Array.map (<anonymous>)
at Object.mustNotCall [as get] (/Users/runner/work/node/node/node/test/common/index.js:563:40)
at assert.throws.code (/Users/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:44:70)
at getActual (node:assert:580:5)
at assert.throws (node:assert:728:24)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:43:8)
at Module._compile (node:internal/modules/cjs/loader:1759:14),
expected: { code: 'ERR_ASSERTION' },
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-common-must-not-call.js
|
|
test-macOS:
test/parallel/test-assert-deep.js#L0
--- stderr ---
# out/Release/node[55136]: void node::util::GetConstructorName(const FunctionCallbackInfo<Value> &) at ../src/node_util.cc:82
# Assertion failed: args[0]->IsObject()
----- Native stack trace -----
1: 0x100c842a4 node::Assert(node::AssertionInfo const&) [/Users/runner/work/node/node/node/out/Release/node]
2: 0x102dd4188 node::util::GetConstructorName(v8::FunctionCallbackInfo<v8::Value> const&) (.cold.1) [/Users/runner/work/node/node/node/out/Release/node]
3: 0x100d6c618 node::util::GetConstructorName(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/runner/work/node/node/node/out/Release/node]
4: 0x101b63238 Builtins_CallApiCallbackGeneric [/Users/runner/work/node/node/node/out/Release/node]
5: 0x101b6158c Builtins_InterpreterEntryTrampoline [/Users/runner/work/node/node/node/out/Release/node]
6: 0x138022d20
7: 0x138021ecc
8: 0x1380194dc
9: 0x138058784
10: 0x1380336c8
11: 0x13802db0c
12: 0x101b61de0 Builtins_InterpreterPushArgsThenFastConstructFunction [/Users/runner/work/node/node/node/out/Release/node]
13: 0x101cf1500 Builtins_ConstructHandler [/Users/runner/work/node/node/node/out/Release/node]
14: 0x101b6158c Builtins_InterpreterEntryTrampoline [/Users/runner/work/node/node/node/out/Release/node]
15: 0x13804c518
16: 0x101b6158c Builtins_InterpreterEntryTrampoline [/Users/runner/work/node/node/node/out/Release/node]
17: 0x13807107c
18: 0x101b6158c Builtins_InterpreterEntryTrampoline [/Users/runner/work/node/node/node/out/Release/node]
19: 0x13805dcb8
20: 0x13806cde8
21: 0x13805e1d8
22: 0x13806a300
23: 0x13806e108
24: 0x101b9f2a4 Builtins_AsyncFunctionAwaitResolveClosure [/Users/runner/work/node/node/node/out/Release/node]
25: 0x101c768f8 Builtins_PromiseFulfillReactionJob [/Users/runner/work/node/node/node/out/Release/node]
26: 0x101b8e720 Builtins_RunMicrotasks [/Users/runner/work/node/node/node/out/Release/node]
27: 0x101b5e7f0 Builtins_JSRunMicrotasksEntry [/Users/runner/work/node/node/node/out/Release/node]
28: 0x101061268 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/runner/work/node/node/node/out/Release/node]
29: 0x101061aec v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/runner/work/node/node/node/out/Release/node]
30: 0x101061c10 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/Users/runner/work/node/node/node/out/Release/node]
31: 0x102e5f16c v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/Users/runner/work/node/node/node/out/Release/node]
32: 0x102e5f4b4 v8::internal::MicrotaskQueue::PerformCheckpoint(v8::Isolate*) (.cold.1) [/Users/runner/work/node/node/node/out/Release/node]
33: 0x10109076c v8::internal::MicrotaskQueue::PerformCheckpoint(v8::Isolate*) [/Users/runner/work/node/node/node/out/Release/node]
34: 0x100b921dc node::InternalCallbackScope::Close() [/Users/runner/work/node/node/node/out/Release/node]
35: 0x100b91b58 node::InternalCallbackScope::~InternalCallbackScope() [/Users/runner/work/node/node/node/out/Release/node]
36: 0x100c3f6d8 node::StartExecution(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) [/Users/runner/work/node/node/node/out/Release/node]
37: 0x100b989a8 node::LoadEnvironment(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>, std::__1::function<void (node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Value>)>) [/Users/runner/work/node/node/node/out/Release/node]
38: 0x102dac3d8 node::NodeMainInstance::Run() (.cold.1) [/Users/runner/work/node/node/node/out/Release/node]
39: 0x100cc73f8 node::NodeMainInstance::Run() [/Users/runner/work/node/node/node/out/Release/node]
40: 0x100c43754 node::Start(int, char**) [/Users/runner/work/node/node/node/out/Release/node]
41: 0x183a76b98 start [/usr/lib/dyld]
----- JavaScript stack trace -----
1: getConstructorName (node:int
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|