Skip to content

module: fix wrong error annotation for require of ESM #74655

module: fix wrong error annotation for require of ESM

module: fix wrong error annotation for require of ESM #74655

Triggered via pull request April 14, 2026 08:56
Status Failure
Total duration 46m 41s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 1 notice
test-macOS
Process completed with exit code 2.
test-macOS: test/es-module/test-cjs-esm-error-annotation.js#L41
--- stdout --- Test failure: 'should point to the user require() call, not internal frames' Location: test/es-module/test-cjs-esm-error-annotation.js:21:3 AssertionError [ERR_ASSERTION]: First line should reference the requiring file, got: "node:internal/modules/cjs/loader:2000" at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/es-module/test-cjs-esm-error-annotation.js:41:12) at async Test.run (node:internal/test_runner/test:1304:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1753:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/es-module/test-cjs-esm-error-annotation.js
test-macOS: test/parallel/test-watch-file-shared-dependency.mjs#L37
--- stdout --- Mismatched <anonymous> function calls. Expected exactly 1, actual 2. at Module.mustCall (/Users/runner/work/node/node/node/test/common/index.js:465:10) at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-watch-file-shared-dependency.mjs:37:34) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1284:21) at Test.start (node:internal/test_runner/test:1168:17) at node:internal/test_runner/test:1751:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) Command: out/Release/node --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-watch-file-shared-dependency.mjs
test-macOS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
sccache stats
60% - 2938 hits, 1931 misses, 0 errors