Skip to content

undici fails on Node.js 24 & 26 (macos), Node.js 22 (ubuntu) & Node.js all (windows) #1185

Description

@MikeMcC399

Situation

Running citgm undici fails on Node.js 24 & 26 (macos), Node.js 22 (ubuntu) & Node.js 22, 24 & 26 (windows)

Item Status
npm package https://www.npmjs.com/package/undici
npm status active
last published 8.11.2 Sep 24, 2026
weekly downloads 207,965,518
repo location https://github.com/nodejs/undici
repo last update to default branch Oct 7, 2026
repo status active
repo CI status runs in Node.js 22-26, macos, ubuntu & windows
lookup - skip win32
lookup maintainer 1 mcollina
lookup maintainer 2 ronag

Repo CI https://github.com/nodejs/undici/blob/main/.github/workflows/ci.yml runs in Node.js 22 - 26 on macos, ubuntu & windows.

macOS

On Node.js 26, the final log lines are:

error:                     | ▶ SnapshotAgent - Edge Cases
error:                     | ✔ handles large snapshot files (10.59225ms)
error:                     | ::debug::completed running handles large snapshot files
error:                     | ::debug::starting to run concurrent access scenarios
error:                     | ✔ concurrent access scenarios (60.53425ms)
error:                     | ::debug::completed running concurrent access scenarios
error:                     | ✔ SnapshotAgent - Edge Cases (71.432041ms)
error:                     | ::debug::completed running SnapshotAgent - Edge Cases
error:                     | ::debug::starting to run SnapshotAgent - Advanced Features
Error: Process completed with exit code 1.

Ubuntu

Node.js 22 running under Ubuntu shows:

error:                     | ::debug::starting to run /tmp/0f1018b1/undici/test/http2-request-never-settles.js
error:                     | ✖ /tmp/0f1018b1/undici/test/http2-request-never-settles.js (1216.833255ms)
error:                     |
error:                     | TypeError: Cannot read properties of null (reading 'startsWith')

Windows

win32 is being skipped in citgm-all, so it should not cause issues in Jenkins.

Steps to reproduce

Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml

Module to test: undici
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main

Result

Fails in multiple different variants:

Node.js npm macos ubuntu windows
22.23.3 10.9.9 PASS FAIL FAIL
24.21.0 11.19.0 FAIL PASS FAIL
26.10.0 11.19.1 FAIL PASS FAIL

References

citgm/lib/lookup.json

Lines 423 to 448 in 4d3d256

"undici": {
"prefix": "v",
"useGitClone": true,
"submodules": ["test/fixtures/cache-tests"],
"envVar": { "CITGM": true },
"scripts": [
"generate-pem",
"test:unit",
"test:fetch",
"test:node-fetch",
"test:infra",
"test:cache",
"test:cache-interceptor",
"test:interceptors",
"test:cookies",
"test:eventsource",
"test:subresource-integrity",
"test:websocket",
"test:node-test",
"test:cache-tests",
"test:jest",
"test:typescript"
],
"maintainers": ["mcollina", "ronag"],
"comment": "run the default test suite without WPT; skip a few tests that are too dependent on the network"
},

cc: @mcollina @ronag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions