fix: correct uvicorn module path from src.app.main to app.main in production tests
Some checks failed
Production Tests / Production Integration Tests (push) Failing after 1m12s

Changed uvicorn application path from src.app.main:app to app.main:app in both
startup and cleanup steps to match the actual module structure where src is
already in PYTHONPATH.
This commit is contained in:
aitbc
2026-04-19 19:54:28 +02:00
parent 22a2597e23
commit 8495b558ea

View File

@@ -76,7 +76,7 @@ jobs:
export PYTHONPATH="apps/agent-coordinator/src:$PYTHONPATH"
# Start agent coordinator in background
nohup uvicorn src.app.main:app \
nohup uvicorn app.main:app \
--host 0.0.0.0 \
--port 9001 \
--log-level info \
@@ -130,6 +130,6 @@ jobs:
kill $(cat /tmp/agent-coordinator.pid) 2>/dev/null || true
rm -f /tmp/agent-coordinator.pid
fi
pkill -f "uvicorn src.app.main:app" 2>/dev/null || true
pkill -f "uvicorn app.main:app" 2>/dev/null || true
redis-cli shutdown 2>/dev/null || true
rm -rf /var/lib/aitbc-workspaces/production-tests