Skip to content

test: wait for FFI background optimization - #65300

Open
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:test-ffi-fast-integer-validation
Open

test: wait for FFI background optimization#65300
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:test-ffi-fast-integer-validation

Conversation

@trivikr

@trivikr trivikr commented Aug 15, 2026

Copy link
Copy Markdown
Member

Refs: https://github.com/nodejs/reliability/issues?q=sort%3Aupdated-desc%20%22test-ffi-fast-integer-validation%22

The pointer range test creates multiple closures from the same function literals and explicitly requests synchronous optimization. V8 can also schedule concurrent recompilation for those closures.

Wait for background optimization before closing the dynamic library so compiler jobs cannot outlive the fast FFI metadata they reference.


Assisted-by: codex:gpt-5.6-sol

The pointer range test creates multiple closures from the same function
literals and explicitly requests synchronous optimization. V8 can also
schedule concurrent recompilation for those closures.

Wait for background optimization before closing the dynamic library so
compiler jobs cannot outlive the fast FFI metadata they reference.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex:gpt-5.6-sol
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/ffi

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Aug 15, 2026
@trivikr trivikr added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Aug 15, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@trivikr trivikr added the ffi Issues and PRs related to experimental Foreign Function Interface support. label Aug 15, 2026
@trivikr trivikr added the fast-track PRs that do not need to wait for 48 hours to land. label Aug 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @trivikr. Please πŸ‘ to approve.

@codecov

codecov Bot commented Aug 15, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 90.33%. Comparing base (4551732) to head (46e3f30).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65300      +/-   ##
==========================================
+ Coverage   90.30%   90.33%   +0.02%     
==========================================
  Files         751      751              
  Lines      250235   250235              
  Branches    47305    47303       -2     
==========================================
+ Hits       225987   226044      +57     
+ Misses      15619    15566      -53     
+ Partials     8629     8625       -4     

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.

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

Labels

fast-track PRs that do not need to wait for 48 hours to land. ffi Issues and PRs related to experimental Foreign Function Interface support. flaky-test Issues and PRs related to the tests with unstable failures on the CI. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants