JSPI: Pass all unit tests, remove stale PHP builds - #1876
Merged
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
Closed
Collaborator
Author
|
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. |
Collaborator
Author
|
All JSPI unit tests pass now, although the CI runner crashes so I'll keep it disabled. |
Member
|
@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. |
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.
Fixes the JSPI details overlooked in the original JSPI PR (#1867):
Testing instructions