Skip to content

module: synchronously load most ES modules #4989

module: synchronously load most ES modules

module: synchronously load most ES modules #4989

Triggered via pull request April 2, 2026 14:19
Status Failure
Total duration 44m 39s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
2m 26s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L0
--- stderr --- node:internal/modules/run_main:108 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: SyntaxError: The requested module './fail.cjs' does not provide an export named 'comeOn' at ModuleJobSync.run (node:internal/modules/esm/module_job:513:19) at node:internal/modules/esm/loader:674:42, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L0
--- stderr --- node:internal/modules/run_main:108 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: SyntaxError: The requested module './fail.cjs' does not provide an export named 'comeOn' at ModuleJobSync.run (node:internal/modules/esm/module_job:513:19) at node:internal/modules/esm/loader:674:42, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L0
--- stderr --- node:internal/modules/run_main:108 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: SyntaxError: The requested module './fail.cjs' does not provide an export named 'comeOn' at ModuleJobSync.run (node:internal/modules/esm/module_job:513:19) at node:internal/modules/esm/loader:674:42, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L0
--- stderr --- node:internal/modules/run_main:108 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: SyntaxError: The requested module './fail.cjs' does not provide an export named 'comeOn' at ModuleJobSync.run (node:internal/modules/esm/module_job:513:19) at node:internal/modules/esm/loader:674:42, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-04-024472309b04-slim/test/es-module/test-esm-cjs-named-error.mjs
aarch64-linux: with shared libraries
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. 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/
aarch64-darwin: with shared libraries
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. 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/
x86_64-linux: with shared libraries
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. 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/
x86_64-darwin: with shared libraries
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. 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/

Artifacts

Produced during runtime
Name Size Digest
tarballs
48.8 MB
sha256:3de7cd916955f66b480afec2d93ffb5c9193d8368c38d214d988e227af5b8408