From a08b0d6d272b0a9f3cdccff44cda718d136d24ba Mon Sep 17 00:00:00 2001 From: Esdras Renan Date: Mon, 17 Nov 2025 13:57:27 -0300 Subject: [PATCH] ci: auto-restart convex service before acquiring admin key --- .github/workflows/ci-cd-web-desktop.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd-web-desktop.yml b/.github/workflows/ci-cd-web-desktop.yml index 4c37369..90d4af4 100644 --- a/.github/workflows/ci-cd-web-desktop.yml +++ b/.github/workflows/ci-cd-web-desktop.yml @@ -161,7 +161,9 @@ jobs: echo "Convex container ready (CID=$CID)" break fi - echo "Attempt $attempt: container not ready yet; sleeping 5s" + echo "Attempt $attempt: container not ready yet; forcing service restart and sleeping 5s" + docker service ps sistema_convex_backend || true + docker service update --force sistema_convex_backend || true sleep 5 done if [ -z "$CID" ]; then