Repository navigation
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
desrosj
left a comment
There was a problem hiding this comment.
I missed this before creating my PR, but I've created #70987 as an alternative approach.
The healthcheck.sh script may not exist reliably within the containers for older versions of MariaDB. It seems like this was added in 10.4.30 and newer. Technically we still support back through 5.5.
We could adjust the conditional in #70987 to use healthcheck.sh as the fallback instead of mariadb-admin ping -h localhost, but solely relying on it will likely result in failures when using old versions.
|
Closing this in favour to #70987 |
|
Since the version of |
|
Today I was able to get CI to fail for the first time with a PR that added debug code. I hope this log helps. https://github.com/WordPress/gutenberg/actions/runs/17906582725/job/50909053610?pr=70979 The core of the failure is probably this: |
e4eb3d6 to
a44d0ae
Compare
|
I was reviewing my old tickets and found this one that has become a little stale. @t-hamano @Mamaduka we have not located this issue again? |
|
This was resolved via #83751. |


What?
It appears that there have been several errors when running Docker containers for CI, as reported here like
https://github.com/WordPress/gutenberg/actions/runs/16615410203/job/47007147722?pr=70970
As @talldan has commented, maybe better logging could be implemented to see where is the issue.
Why?
One of the issues I've personally encountered with docker configurations with the WP images is the fact that mariadb takes a variable amount of time to load, and it can load a little later than the PHP server under certain conditions.
How?
To ensure that the DB is loading 100% before the PHP container, a healthcheck could do the trick
I'm taking Official docs for implementing a valid healtcheck for the maridb docker images:
https://mariadb.com/docs/server/server-management/install-and-upgrade-mariadb/installing-mariadb/binary-packages/automated-mariadb-deployment-and-administration/docker-and-mariadb/using-healthcheck-sh
Testing Instructions
npx wp-env startI want to see how well this patch goes with current GHA.