node-api: add napi_create_external_sharedarraybuffer#62623
Merged
nodejs-github-bot merged 13 commits intonodejs:mainfrom Apr 17, 2026
Merged
node-api: add napi_create_external_sharedarraybuffer#62623nodejs-github-bot merged 13 commits intonodejs:mainfrom
nodejs-github-bot merged 13 commits intonodejs:mainfrom
Conversation
Creates a SharedArrayBuffer from externally managed memory. Fixes: nodejs#62259
Collaborator
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #62623 +/- ##
==========================================
+ Coverage 89.77% 89.80% +0.03%
==========================================
Files 697 699 +2
Lines 215749 216404 +655
Branches 41304 41379 +75
==========================================
+ Hits 193681 194344 +663
+ Misses 14161 14139 -22
- Partials 7907 7921 +14
🚀 New features to boost your workflow:
|
Collaborator
legendecas
reviewed
Apr 7, 2026
KevinEady
reviewed
Apr 7, 2026
KevinEady
reviewed
Apr 7, 2026
vmoroz
reviewed
Apr 7, 2026
vmoroz
reviewed
Apr 7, 2026
vmoroz
reviewed
Apr 7, 2026
legendecas
approved these changes
Apr 9, 2026
vmoroz
reviewed
Apr 10, 2026
vmoroz
approved these changes
Apr 10, 2026
Collaborator
ronag
approved these changes
Apr 13, 2026
Collaborator
Member
Author
|
Test failures look like unrelated flakes. Concur/disagree? |
Collaborator
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/62623 ✔ Done loading data for nodejs/node/pull/62623 ----------------------------------- PR info ------------------------------------ Title node-api: add napi_create_external_sharedarraybuffer (#62623) Author Ben Noordhuis <info@bnoordhuis.nl> (@bnoordhuis) Branch bnoordhuis:fix62259 -> nodejs:main Labels c++, node-api, needs-ci Commits 13 - node-api: add napi_create_external_sharedarraybuffer - squash! lint - squash! more lint - squash! more lint - squash! more more lint - squash! review feedback - squash! preamble - squash! lint - squash! update binding.gyp - squash! review feedback - squash! introduce node_api_noenv_finalize - squash! lint - squash! lint Committers 1 - Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/nodejs/node/pull/62623 Fixes: https://github.com/nodejs/node/issues/62259 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/62623 Fixes: https://github.com/nodejs/node/issues/62259 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> -------------------------------------------------------------------------------- ℹ This PR was created on Tue, 07 Apr 2026 09:16:02 GMT ✔ Approvals: 4 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/62623#pullrequestreview-4067842600 ✔ - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/62623#pullrequestreview-4085641875 ✔ - Vladimir Morozov (@vmoroz): https://github.com/nodejs/node/pull/62623#pullrequestreview-4090466256 ✔ - Robert Nagy (@ronag) (TSC): https://github.com/nodejs/node/pull/62623#pullrequestreview-4099636726 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2026-04-17T00:48:36Z: https://ci.nodejs.org/job/node-test-pull-request/72728/ - Querying data for job/node-test-pull-request/72728/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 62623 From https://github.com/nodejs/node * branch refs/pull/62623/merge -> FETCH_HEAD ✔ Fetched commits as b17884248282..bfed127d0ae3 -------------------------------------------------------------------------------- [main f1207fe5eb] node-api: add napi_create_external_sharedarraybuffer Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Tue Apr 7 11:11:15 2026 +0200 5 files changed, 130 insertions(+) [main 7159a586ee] squash! lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Tue Apr 7 11:21:05 2026 +0200 3 files changed, 29 insertions(+), 32 deletions(-) [main 3964c082cc] squash! more lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Tue Apr 7 11:40:41 2026 +0200 1 file changed, 1 insertion(+), 1 deletion(-) [main 676f03badb] squash! more lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Tue Apr 7 11:49:16 2026 +0200 1 file changed, 1 insertion(+), 1 deletion(-) [main 8473e978f8] squash! more more lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Tue Apr 7 12:13:31 2026 +0200 1 file changed, 2 insertions(+), 2 deletions(-) [main d4e74061d6] squash! review feedback Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Thu Apr 9 22:48:09 2026 +0200 4 files changed, 55 insertions(+), 58 deletions(-) [main bc31f30dcc] squash! preamble Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Thu Apr 9 22:53:52 2026 +0200 1 file changed, 2 insertions(+) [main eda9894d34] squash! lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Thu Apr 9 23:16:58 2026 +0200 1 file changed, 2 insertions(+), 3 deletions(-) [main 41af729d99] squash! update binding.gyp Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Thu Apr 9 23:19:58 2026 +0200 1 file changed, 3 insertions(+), 1 deletion(-) [main c38c77a77b] squash! review feedback Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Sun Apr 12 17:04:07 2026 +0200 2 files changed, 3 insertions(+), 2 deletions(-) [main 46c8ce4f4d] squash! introduce node_api_noenv_finalize Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Sun Apr 12 17:11:36 2026 +0200 4 files changed, 7 insertions(+), 5 deletions(-) [main ca7335e260] squash! lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Sun Apr 12 17:17:46 2026 +0200 2 files changed, 14 insertions(+), 14 deletions(-) [main 000b2014b1] squash! lint Author: Ben Noordhuis <info@bnoordhuis.nl> Date: Sun Apr 12 17:55:29 2026 +0200 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied Please run the following commands to complete landinghttps://github.com/nodejs/node/actions/runs/24549787442 |
legendecas
approved these changes
Apr 17, 2026
Collaborator
|
Landed in c1d7150 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creates a SharedArrayBuffer from externally managed memory.
Fixes: #62259