From ee28480b12d94f86d158a741210d24bebab3ee04 Mon Sep 17 00:00:00 2001 From: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com> Date: Thu, 30 Jul 2026 16:10:06 +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 7.0 branch. See #65752. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 00fcb3e8c2850..0c65db76ed5df 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -87,6 +87,7 @@ services: timeout: 5s interval: 5s retries: 10 + start_period: 60s ## # The WP CLI container.