FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

wasm: enable JSPI by guybedford · Pull Request #59941 · nodejs/node · GitHub

/ node Public

wasm: enable JSPI - #59941

Closed
guybedford wants to merge 1 commit into
nodejs:mainfrom
guybedford:jspi
Closed

wasm: enable JSPI#59941
guybedford wants to merge 1 commit into
nodejs:mainfrom
guybedford:jspi

Conversation

Copy link
Copy Markdown
Contributor

This enables the WebAssembly JS Promise Integration Stage 4 WebAssembly proposal which is currently shipped in Chrome.

A new Wasm test is also included to verify that it works correctly.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/startup

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Sep 20, 2025

jasnell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Lgtm but the test could use a comment that explains the expectations a bit as most folks aren't familiar with jspi yet and won't have much context.

richardlau added semver-minor PRs that contain new features and should be released in the next minor version. dont-land-on-v20.x dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. labels Sep 20, 2025

codecov Bot commented Sep 20, 2025
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.44%. Comparing base (4612c79) to head (e2d1d28).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #59941      +/-   ##
==========================================
+ Coverage   88.25%   88.44%   +0.19%     
==========================================
  Files         703      703              
  Lines      207412   207402      -10     
  Branches    39893    39991      +98     
==========================================
+ Hits       183052   183445     +393     
+ Misses      16313    15930     -383     
+ Partials     8047     8027      -20     
Files with missing lines Coverage Δ
src/node.cc 75.80% <100.00%> (+0.03%) ⬆️

... and 41 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.

Copy link
Copy Markdown
Contributor Author

Sure, I've added some more documentation to the test.

Copy link
Copy Markdown
Collaborator

guybedford added a commit that referenced this pull request Sep 23, 2025
PR-URL: #59941
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

Copy link
Copy Markdown
Contributor Author

Landed in 4396cf2.

guybedford closed this Sep 23, 2025
guybedford deleted the jspi branch September 23, 2025 01:13
guybedford added a commit to guybedford/node that referenced this pull request Aug 7, 2026
PR-URL: nodejs#59941
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit to guybedford/node that referenced this pull request Aug 13, 2026
PR-URL: nodejs#59941
Backport-PR-URL: nodejs#65123
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
nodejs-github-bot added a commit that referenced this pull request Aug 21, 2026
Notable changes:

async_hooks:
  * (SEMVER-MINOR) add using scopes to AsyncLocalStorage (Stephen Belanger) #61674
benchmark:
  * (SEMVER-MINOR) add benchmarks for experimental stream/iter (James M Snell) #62066
buffer:
  * (SEMVER-MINOR) add end parameter (Robert Nagy) #62390
crypto:
  * update root certificates to NSS 3.125 (Node.js GitHub Bot) #64746
doc:
  * add MikeMcC399 as collaborator (Mike McCready) #64656
lib,permission:
  * (SEMVER-MINOR) add permission.drop (Rafael Gonzaga) #62672
loader:
  * (SEMVER-MINOR) implement package maps (Maël Nison) #62239
src,permission:
  * (SEMVER-MINOR) add --permission-audit (RafaelGSS) #61869
stream:
  * (SEMVER-MINOR) add stream/iter Implementation (James M Snell) #62066
test:
  * (SEMVER-MINOR) add tests for experimental stream/iter implementation (James M Snell) #62066
test_runner:
  * (SEMVER-MINOR) add context.log() and test:log event (Moshe Atlow) #64389
  * (SEMVER-MINOR) report `entryFile` in `TestStream` events (Moshe Atlow) #64309
wasm:
  * (SEMVER-MINOR) enable JSPI (Guy Bedford) #59941

PR-URL: #65461
aduh95 pushed a commit that referenced this pull request Aug 22, 2026
Notable changes:

async_hooks:
  * (SEMVER-MINOR) add `using` scopes to `AsyncLocalStorage` (Stephen Belanger) #61674
benchmark:
buffer:
  * (SEMVER-MINOR) add `end` parameter (Robert Nagy) #62390
crypto:
  * update root certificates to NSS 3.125 (Node.js GitHub Bot) #64746
doc:
  * add MikeMcC399 as collaborator (Mike McCready) #64656
lib,permission:
  * (SEMVER-MINOR) add `permission.drop` (Rafael Gonzaga) #62672
loader:
  * (SEMVER-MINOR) implement package maps (Maël Nison) #62239
src,permission:
  * (SEMVER-MINOR) add `--permission-audit` (RafaelGSS) #61869
stream:
  * (SEMVER-MINOR) implement `node:stream/iter` (James M Snell) #62066
test_runner:
  * (SEMVER-MINOR) add `context.log()` and `test:log` event (Moshe Atlow) #64389
  * (SEMVER-MINOR) report `entryFile` in `TestStream` events (Moshe Atlow) #64309
wasm:
  * (SEMVER-MINOR) enable JSPI (Guy Bedford) #59941

PR-URL: #65461
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

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL