From d0bdf0a4414eee866bc45181265a2538e2ae4a7a Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 17 Sep 2026 20:46:33 +0200 Subject: [PATCH] ci: retry frontend smoke check nginx needs a few seconds for its entrypoint scripts; the single-shot curl raced the container start. Same retry loop as the backend check, with a log dump on failure. Authored By: TDvorak Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fdbbb2..8f0f260 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,7 +100,13 @@ jobs: exit 1 - name: Check frontend responds - run: curl -sf http://localhost:3000/ -o /dev/null + run: | + for i in $(seq 1 30); do + if curl -sf http://localhost:3000/ -o /dev/null; then exit 0; fi + sleep 2 + done + docker compose -f infra/docker-compose.yml logs --tail 50 frontend + exit 1 - name: Teardown if: always()