-
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
Intermittent SQLite Database Disconnects #1596
Comments
We may be experiencing a similar issue in Woo using wp-env. For example, a seemingly random I'm currently investigating it at woocommerce/woocommerce#51658. FYI, I've also found WordPress/gutenberg#62242, which describes a similar issue. cc: @carstingaxion |
Oooh interesting @WunderBart, thank you so much for sharing! |
In wp-now and in some playground.wordpress.net + MEMFS remains a mystery. |
Re-create the mounts destroyed during the hotSwapPHPRuntime call. Closes #1596 ## Context Without this PR, `hotSwapPHPRuntime()` does not: * Recreate the filesystem mounts * Restore the platform-level plugins stored in the /internal (e.g the SQLite integration plugin) Which results in WordPress losing access to local files and the database connectivity. This PR ensures the mounts are re-created and the platform-level plugins preserved. ## Testing instructions This PR comes with tests, so check the CI logs.
Playground randomly "disconnects" from SQLite. This issue was reported by:
@wp-playground/cli
wp-now
Here's the error log provided by Pascal:
The text was updated successfully, but these errors were encountered: