Skip to content

Asyncify Crash in the Woocommerce onboarding flow #1078

@adamziel

Description

@adamziel

WP 6.4, PHP 8.0, networking enabled, no extra extensions. After installing the Woocommerce plugin, going through the Woo onboarding flow halts at one moment with a bunch of Asyncify errors. Let's identify where they come from and add the required functions to the ASYNCIFY_ALLOWLIST in the PHP build Dockerfile as well as thephp-asyncify.spec.ts unit tests

Here's a few ideas that would be good to test and Asyncify-allowlist regardless:

  • Generators
  • Stream wrappers
  • Shutdown handlers

To get nice stacktraces in the web version of PHP, it needs to be rebuilt with -O0 -g2 emcc flags here (hardcoding them for testing is fine):

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions