Skip to content

test: expect node:ffi to be enabled by default - #65636

Closed
mcollina wants to merge 1 commit into
nodejs:mainfrom
mcollina:fix-builtin-experimental-ffi-test
Closed

test: expect node:ffi to be enabled by default#65636
mcollina wants to merge 1 commit into
nodejs:mainfrom
mcollina:fix-builtin-experimental-ffi-test

Conversation

@mcollina

Copy link
Copy Markdown
Member

test-module-builtin-experimental was added in #65418 asserting that node:ffi is unavailable without --experimental-ffi, but #65475 had already enabled node:ffi by default in builds with FFI support. The two landed independently and every CI run on main since 7b0de5e is failing this test (e.g. https://github.com/nodejs/node/actions/runs/33225515486).

Expect node:ffi to behave like node:sqlite: available by default with the node: scheme, and gone when opted out with --no-experimental-ffi.

Since main CI is currently broken, I'd like to fast-track this.

test-module-builtin-experimental was added in nodejs#65418 asserting that
node:ffi is unavailable without --experimental-ffi, but nodejs#65475 had
already enabled node:ffi by default in builds with FFI support. The two
landed independently and broke main.

Expect node:ffi to behave like node:sqlite: available by default with
the node: scheme, and gone when opted out with --no-experimental-ffi.

Refs: nodejs#65418
Refs: nodejs#65475
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina mcollina added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Aug 29, 2026
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Aug 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @mcollina. Please 👍 to approve.

panva pushed a commit that referenced this pull request Aug 29, 2026
test-module-builtin-experimental was added in #65418 asserting that
node:ffi is unavailable without --experimental-ffi, but #65475 had
already enabled node:ffi by default in builds with FFI support. The two
landed independently and broke main.

Expect node:ffi to behave like node:sqlite: available by default with
the node: scheme, and gone when opted out with --no-experimental-ffi.

Refs: #65418
Refs: #65475
Signed-off-by: Matteo Collina <hello@matteocollina.com>
PR-URL: #65636
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
@panva

panva commented Aug 29, 2026

Copy link
Copy Markdown
Member

Landed in 2f469df

@panva panva closed this Aug 29, 2026
@codecov

codecov Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.05%. Comparing base (7b0de5e) to head (76ecfb1).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #65636   +/-   ##
=======================================
  Coverage   90.05%   90.05%           
=======================================
  Files         754      754           
  Lines      255722   255722           
  Branches    48314    48310    -4     
=======================================
+ Hits       230281   230302   +21     
- Misses      16555    16558    +3     
+ Partials     8886     8862   -24     

see 38 files with indirect coverage changes

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

aduh95 pushed a commit that referenced this pull request Aug 29, 2026
test-module-builtin-experimental was added in #65418 asserting that
node:ffi is unavailable without --experimental-ffi, but #65475 had
already enabled node:ffi by default in builds with FFI support. The two
landed independently and broke main.

Expect node:ffi to behave like node:sqlite: available by default with
the node: scheme, and gone when opted out with --no-experimental-ffi.

Refs: #65418
Refs: #65475
Signed-off-by: Matteo Collina <hello@matteocollina.com>
PR-URL: #65636
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-track PRs proposed for a shorter-than-standard waiting period before landing. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants