lib: add node:metrics module #4560
Annotations
8 errors and 1 warning
|
Build Node.js and run tests
Process completed with exit code 2.
|
|
Build Node.js and run tests:
test/parallel/test-diagnostics-channel-tracing-channel-sync-run-stores.js#L18
--- stderr ---
node:diagnostics_channel:114
stack.use(store.withScope(newContext));
^
TypeError: store.withScope is not a function
at new RunStoresScope (node:diagnostics_channel:114:25)
at new WindowChannelScope (node:diagnostics_channel:338:19)
at WindowChannel.withScope (node:diagnostics_channel:404:12)
at TracingChannel.traceSync (node:diagnostics_channel:537:36)
at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-sync-run-stores.js:18:9)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-sync-run-stores.js
|
|
Build Node.js and run tests:
test/parallel/test-diagnostics-channel-tracing-channel-promise-thenable.js#L51
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(result instanceof ResolvedThenable)
at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-promise-thenable.js:51:1)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
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 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-promise-thenable.js
|
|
Build Node.js and run tests:
test/parallel/test-diagnostics-channel-tracing-channel-promise-run-stores.js#L24
--- stderr ---
node:diagnostics_channel:114
stack.use(store.withScope(newContext));
^
TypeError: store.withScope is not a function
at new RunStoresScope (node:diagnostics_channel:114:25)
at new WindowChannelScope (node:diagnostics_channel:338:19)
at WindowChannel.withScope (node:diagnostics_channel:404:12)
at TracingChannel.tracePromise (node:diagnostics_channel:581:36)
at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-promise-run-stores.js:24:9)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-promise-run-stores.js
|
|
Build Node.js and run tests:
test/parallel/test-diagnostics-channel-tracing-channel-promise-non-thenable.js#L40
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected "actual" to be reference-equal to "expected":
+ actual - expected
+ Promise {
+ <pending>
- {
- foo: 'bar'
}
at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-promise-non-thenable.js:40:8)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
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 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: Promise { <pending> },
expected: { foo: 'bar' },
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-promise-non-thenable.js
|
|
Build Node.js and run tests:
test/parallel/test-diagnostics-channel-tracing-channel-callback-run-stores.js#L23
--- stderr ---
node:diagnostics_channel:114
stack.use(store.withScope(newContext));
^
TypeError: store.withScope is not a function
at new RunStoresScope (node:diagnostics_channel:114:25)
at new WindowChannelScope (node:diagnostics_channel:338:19)
at WindowChannel.withScope (node:diagnostics_channel:404:12)
at TracingChannel.traceCallback (node:diagnostics_channel:623:36)
at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-callback-run-stores.js:23:9)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-tracing-channel-callback-run-stores.js
|
|
Build Node.js and run tests:
test/parallel/test-diagnostics-channel-bind-store.js#L42
--- stderr ---
node:diagnostics_channel:114
stack.use(store.withScope(newContext));
^
TypeError: store.withScope is not a function
at new RunStoresScope (node:diagnostics_channel:114:25)
at Channel.withStoreScope (node:diagnostics_channel:198:12)
at Channel.runStores (node:diagnostics_channel:203:24)
at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-bind-store.js:42:9)
at Module._compile (node:internal/modules/cjs/loader:1829:14)
at Object..js (node:internal/modules/cjs/loader:1969:10)
at Module.load (node:internal/modules/cjs/loader:1552:32)
at Module._load (node:internal/modules/cjs/loader:1354:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-03-225e18a708f4-slim/test/parallel/test-diagnostics-channel-bind-store.js
|
|
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
Loading