Skip to content

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

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

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.

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