Skip to content

Commit 58f35b0

Browse files
committed
checking tutorial ports
1 parent ea16c53 commit 58f35b0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

β€Ž.github/workflows/agentex-tutorials-test.ymlβ€Ž

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
cd scale-agentex/agentex
3030
echo "πŸš€ Starting dependencies (Postgres, Redis, Temporal, MongoDB)..."
3131
32-
# Start all services except the agentex service
32+
# Start all services
3333
docker compose up -d
3434
3535
echo "⏳ Waiting for dependencies to be healthy..."
@@ -44,8 +44,15 @@ jobs:
4444
sleep 5
4545
done
4646
47-
# Verify all deps are up
47+
# Debug port mappings
48+
echo "πŸ” Docker port mappings:"
4849
docker compose ps
50+
echo ""
51+
echo "πŸ” Docker port details:"
52+
docker compose ps --format "table {{.Name}}\t{{.Image}}\t{{.Ports}}"
53+
echo ""
54+
echo "πŸ” Testing AgentEx server accessibility:"
55+
curl -v --max-time 10 http://localhost:5003/health 2>&1 || echo "❌ AgentEx not accessible on localhost:5003"
4956
5057
- name: Build AgentEx SDK
5158
run: |
@@ -126,7 +133,7 @@ jobs:
126133
127134
# Run test in background with unique port
128135
(
129-
AGENTEX_API_BASE_URL="http://host.docker.internal:5003" \
136+
AGENTEX_API_BASE_URL="http://localhost:5003" \
130137
./run_agent_test.sh --build-cli "$tutorial"
131138
132139
if [ $? -eq 0 ]; then

0 commit comments

Comments
Β (0)