Skip to content
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

Add more asyncify-listed PHP functions to fix Studio crash #1729

Merged

Conversation

brandonpayton
Copy link
Member

Motivation for the change, related issues, implementation details

This PR adds more PHP function names to our asyncify list to hopefully address a crash encountered by the Studio app.

Testing Instructions (or ideally a Blueprint)

  • CI

@brandonpayton brandonpayton added [Type] Bug An existing feature does not function as intended [Package][@php-wasm] Web [Package][@php-wasm] Node labels Sep 4, 2024
@brandonpayton brandonpayton requested a review from a team September 4, 2024 00:24
@brandonpayton brandonpayton self-assigned this Sep 4, 2024
@brandonpayton
Copy link
Member Author

Note: The new PHP functions may be an incorrect list of functions to add.

I was able to cause Playground CLI to crash when running on Node.js with a particular dataset, but it turns out the crash is different from the original error Studio folks have mentioned offline. So I'm waiting to see what that stacktrace is and plan to derive a different set of PHP function names from that.

@brandonpayton
Copy link
Member Author

It turns out these crashes appear related, and it looks like these changes address the issue. Let's go ahead, merge this, and release updated npm packages.

@brandonpayton brandonpayton merged commit ceff6a9 into trunk Sep 5, 2024
5 checks passed
@brandonpayton brandonpayton deleted the fix-studio-crash-with-more-asyncify-listed-php-functions branch September 5, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package][@php-wasm] Node [Package][@php-wasm] Web [Type] Bug An existing feature does not function as intended
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant