From d3061d644699d7dc7517fa3cc87285134a567737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 11 Aug 2026 07:51:08 +0200 Subject: [PATCH] fix(ci): allow graceful container restart Supervisor can take longer than Docker's default stop timeout to drain workers. Use an atomic restart with a longer timeout to avoid racing forced container teardown. --- .github/workflows/container-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/container-test.yml b/.github/workflows/container-test.yml index c4d0ad959..48e28ff5e 100644 --- a/.github/workflows/container-test.yml +++ b/.github/workflows/container-test.yml @@ -116,12 +116,9 @@ jobs: if: always() working-directory: docker-compose run: ./test-logs - - name: Stop Weblate service + - name: Restart Weblate service working-directory: docker-compose - run: docker compose stop weblate - - name: Start Weblate service - working-directory: docker-compose - run: docker compose start weblate + run: docker compose restart --timeout 60 weblate - name: Check service is running working-directory: docker-compose run: ./test-online