Skip to content

Conversation

@mcollina
Copy link
Member

Summary

  • Remove Node.js 20 and 22 from the test-shared-builtin CI job matrix
  • Only test the --shared-builtin-undici/undici-path flag on Node.js 24 and 25

Reason

Node.js 20 and 22 bundle undici 6, while this repository is undici 7. When compiled with --shared-builtin-undici/undici-path pointing to undici 7, the API incompatibility causes ERR_INTERNAL_ASSERTION during process initialization.

Node.js 24 and 25 bundle undici 7 and work correctly with this flag.

Node.js 20 and 22 have internal assertion errors when compiled with
--shared-builtin-undici/undici-path flag. The error occurs in
setupUserModules during process initialization (ERR_INTERNAL_ASSERTION).

This is a Node.js bug, not an undici issue.
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.88%. Comparing base (250efc8) to head (8ff9b83).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4746      +/-   ##
==========================================
- Coverage   92.89%   92.88%   -0.01%     
==========================================
  Files         109      109              
  Lines       33886    33886              
==========================================
- Hits        31478    31475       -3     
- Misses       2408     2411       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants