From 9885657d550880baa365da1e0d494387ef1e28dd Mon Sep 17 00:00:00 2001 From: Toksi Date: Wed, 22 Apr 2026 13:02:44 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B0=20blocking-?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=20Celery=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=B4=D0=B5=D0=BF=D0=BB=D0=BE?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev-ci.yml | 2 +- .github/workflows/release-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-ci.yml b/.github/workflows/dev-ci.yml index f159a7f8..af3738a1 100644 --- a/.github/workflows/dev-ci.yml +++ b/.github/workflows/dev-ci.yml @@ -88,7 +88,7 @@ jobs: for attempt in $(seq 1 24); do celery_status="$(docker inspect -f '{{.State.Status}}' api_celery 2>/dev/null || true)" && if [ "$celery_status" = "running" ]; then - celery_ping="$(docker compose -f docker-compose.dev-ci.yml exec -T celerys sh -lc 'celery -A procollab inspect ping -d \"celery@$(hostname)\"' 2>&1 || true)" && + celery_ping="$(docker compose -f docker-compose.dev-ci.yml exec -T celerys sh -lc 'celery -A procollab inspect ping --timeout=10' 2>&1 || true)" && printf '%s\n' "$celery_ping" && if printf '%s\n' "$celery_ping" | grep -q 'pong'; then echo "Celery check passed on attempt ${attempt}" && diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index 5389e3d4..90de6eb5 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -215,7 +215,7 @@ jobs: for attempt in $(seq 1 24); do celery_status="$(docker inspect -f '{{.State.Status}}' api_celery 2>/dev/null || true)" if [ "$celery_status" = "running" ]; then - celery_ping="$(docker compose -f docker-compose.prod-ci.yml -p prod exec -T celerys sh -lc 'celery -A procollab inspect ping -d \"celery@$(hostname)\"' 2>&1 || true)" + celery_ping="$(docker compose -f docker-compose.prod-ci.yml -p prod exec -T celerys sh -lc 'celery -A procollab inspect ping --timeout=10' 2>&1 || true)" printf '%s\n' "$celery_ping" if printf '%s\n' "$celery_ping" | grep -q 'pong'; then echo "Celery check passed on attempt ${attempt}"