Skip to content

test: move permission FFI test to native suite - #66059

Open
inoway46 wants to merge 1 commit into
nodejs:mainfrom
inoway46:codex/fix-permission-ffi-suite
Open

inoway46 wants to merge 1 commit into
nodejs:mainfrom
inoway46:codex/fix-permission-ffi-suite

Conversation

@inoway46

Copy link
Copy Markdown
Contributor

test-permission-drop-ffi requires a native fixture but runs in the JS suite, causing make test-ci-js to fail when the fixture is absent.

Move it to test/ffi, consistent with #63165. Add ffi to Windows NATIVE_SUITES and remove its fixture build from Windows test-ci-js, retaining it for test-ci-native.

Fixes: #66055
Refs: #62672
Refs: #63165

Move the permission drop test to the FFI suite so test-ci-js does not
require the native FFI fixture library. Update the helper import to
match the new location.

Synchronize the Windows native suites with the Makefile by including
ffi. Build its fixture for test-ci-native, but not for test-ci-js.

Fixes: nodejs#66055
Refs: nodejs#63165
Assisted-by: Codex
Signed-off-by: inoway46 <inoueyuya416@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/ffi

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. windows Issues and PRs related to the Windows platform. labels Sep 16, 2026
@inoway46
inoway46 marked this pull request as ready for review September 16, 2026 11:07
@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Sep 16, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Sep 16, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.25%. Comparing base (edc61b1) to head (312cd30).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #66059      +/-   ##
==========================================
- Coverage   90.27%   90.25%   -0.03%     
==========================================
  Files         789      789              
  Lines      271465   271465              
  Branches    51812    51806       -6     
==========================================
- Hits       245063   245002      -61     
- Misses      16884    16929      +45     
- Partials     9518     9534      +16     

see 34 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.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. windows Issues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: test-permission-drop-ffi test fails with Missing FFI test fixture library error

4 participants