From 44568893fd72a3b0fcbd43509f23202f91b736b0 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Tue, 17 Feb 2026 10:56:24 +0100 Subject: [PATCH] fix: verify-server.sh exit on first check, bump flower/beat to 256m - Remove set -e so script continues through all checks - Use POSIX arithmetic to avoid exit code 1 from (( )) - Bump flower and celery-beat mem_limit from 128m to 256m (OOM killed) Co-Authored-By: Claude Opus 4.6 --- docker-compose.yml | 4 ++-- scripts/verify-server.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a1b55d12..b51ad638 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -107,7 +107,7 @@ services: depends_on: redis: condition: service_healthy - mem_limit: 128m + mem_limit: 256m healthcheck: disable: true networks: @@ -128,7 +128,7 @@ services: depends_on: redis: condition: service_healthy - mem_limit: 128m + mem_limit: 256m healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:5555/ || exit 1"] interval: 30s diff --git a/scripts/verify-server.sh b/scripts/verify-server.sh index 4c6fe007..6e35a69c 100755 --- a/scripts/verify-server.sh +++ b/scripts/verify-server.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash # verify-server.sh — Check all Orion infrastructure is properly deployed # Run on the production server: bash scripts/verify-server.sh -set -euo pipefail +set -uo pipefail PASS=0 FAIL=0 WARN=0 -pass() { echo " [PASS] $1"; ((PASS++)); } -fail() { echo " [FAIL] $1"; ((FAIL++)); } -warn() { echo " [WARN] $1"; ((WARN++)); } +pass() { echo " [PASS] $1"; PASS=$((PASS + 1)); } +fail() { echo " [FAIL] $1"; FAIL=$((FAIL + 1)); } +warn() { echo " [WARN] $1"; WARN=$((WARN + 1)); } section() { echo ""; echo "=== $1 ==="; }