From a14e25a79e5effe0ccd92466321071feb3ceacce Mon Sep 17 00:00:00 2001 From: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com> Date: Thu, 30 Jul 2026 16:34:18 +0300 Subject: [PATCH] Build/Test Tools: Add a start period to the MySQL healthcheck. Without `start_period`, Docker counts the checks that run while the database initializes against the retry budget of `interval` x `retries`, which is 50 seconds. A first start of a cold volume that takes longer than that marks the container unhealthy, and every service that declares `mysql: condition: service_healthy` fails to start. A failed check inside the start period does not increment the failure streak, and the first check that passes marks the container healthy at once, so this does not slow down a normal start. Merges [62937] to the 6.8 branch. See #65752. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index d6bdf0a628354..d9fca7986d78b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -90,6 +90,7 @@ services: timeout: 5s interval: 5s retries: 10 + start_period: 60s ## # The WP CLI container.