Merge branch 'main' into update-triagers

This commit is contained in:
Francisco Arceo 2025-08-18 11:21:36 -06:00 committed by GitHub
commit 2fa9e9141b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,6 +133,10 @@ else
EXTRA_PARAMS="" EXTRA_PARAMS=""
fi fi
THIS_DIR=$(dirname "$0")
ROOT_DIR="$THIS_DIR/.."
cd $ROOT_DIR
# Set recording directory # Set recording directory
if [[ "$RUN_VISION_TESTS" == "true" ]]; then if [[ "$RUN_VISION_TESTS" == "true" ]]; then
export LLAMA_STACK_TEST_RECORDING_DIR="tests/integration/recordings/vision" export LLAMA_STACK_TEST_RECORDING_DIR="tests/integration/recordings/vision"
@ -142,6 +146,10 @@ fi
# Start Llama Stack Server if needed # Start Llama Stack Server if needed
if [[ "$STACK_CONFIG" == *"server:"* ]]; then if [[ "$STACK_CONFIG" == *"server:"* ]]; then
# check if server is already running
if curl -s http://localhost:8321/v1/health 2>/dev/null | grep -q "OK"; then
echo "Llama Stack Server is already running, skipping start"
else
echo "=== Starting Llama Stack Server ===" echo "=== Starting Llama Stack Server ==="
nohup uv run llama stack run ci-tests --image-type venv > server.log 2>&1 & nohup uv run llama stack run ci-tests --image-type venv > server.log 2>&1 &
@ -160,6 +168,7 @@ if [[ "$STACK_CONFIG" == *"server:"* ]]; then
sleep 1 sleep 1
done done
echo "" echo ""
fi
fi fi
# Run tests # Run tests