-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSPI: Pass all unit tests, remove stale PHP builds #1876
Conversation
Fixes JSPI details overlooked in the original JSPI PR (#1867): * Correctly define the PLAYGROUND_JSPI constant to ensure EM_ASYNC_JS is used in JSPI builds. It wasn't picked up before. * Provide -sJSPI_IMPORTS during the build to ensure WebAssembly waits for any promises returned by js_open_process and other JavaScript functions. * Runs the CI tests using Node v23 nightly * Solves a few small issues – look around the diff for more details ## Testing instructions CI unit tests should pass
I got the failures down to the ones below. The test process crashes in CI for some reason so I won't enable the automated JSPI test runner yet.
|
All JSPI unit tests pass now, although the CI runner crashes so I'll keep it disabled. |
@adamziel, I am still getting the asyncify failure-related errors when running via command line.
This is with a local build of nodejs v23, and the command is the same as the one in the test instructions. Any thoughts on this? I'm not sure how that test is supposed to pass when using JSPI. |
Fixes the JSPI details overlooked in the original JSPI PR (#1867):
Testing instructions