Skip to content

ci: build Node FFI fixtures for shared-builtin tests#5275

Merged
mcollina merged 1 commit into
nodejs:mainfrom
trivikr:ffi-test-common
May 10, 2026
Merged

ci: build Node FFI fixtures for shared-builtin tests#5275
mcollina merged 1 commit into
nodejs:mainfrom
trivikr:ffi-test-common

Conversation

@trivikr

@trivikr trivikr commented May 9, 2026

Copy link
Copy Markdown
Member

This relates to...

CI failure in the Node.js 26 --shared-builtin-undici/undici-path job:
Example https://github.com/nodejs/undici/actions/runs/25594045521/job/75136796661

Rationale

Node.js v26 now includes FFI tests that require a native fixture library. The shared-builtin workflow invokes tools/test.py directly, bypassing Node's Make targets that would normally build those fixtures first.

Changes

  • Build Node FFI test fixtures before running the upstream Node test suite when the downloaded Node source supports build-ffi-tests.
  • Keep older Node versions compatible by checking for the target before invoking it.

Features

N/A

Bug Fixes

Build Node FFI fixtures for shared-builtin tests

Breaking Changes and Deprecations

N/A

Status

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.28%. Comparing base (0b06a16) to head (0b50c30).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5275   +/-   ##
=======================================
  Coverage   93.28%   93.28%           
=======================================
  Files         110      110           
  Lines       36384    36384           
=======================================
  Hits        33939    33939           
  Misses       2445     2445           

☔ 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.

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit 632e61d into nodejs:main May 10, 2026
35 checks passed
@github-actions github-actions Bot mentioned this pull request May 14, 2026
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.

3 participants