From 8495b558ea290f96405fe28cc61c9ede3da21181 Mon Sep 17 00:00:00 2001 From: aitbc Date: Sun, 19 Apr 2026 19:54:28 +0200 Subject: [PATCH] fix: correct uvicorn module path from src.app.main to app.main in production tests 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. --- .gitea/workflows/production-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/production-tests.yml b/.gitea/workflows/production-tests.yml index 12255504..17b61558 100644 --- a/.gitea/workflows/production-tests.yml +++ b/.gitea/workflows/production-tests.yml @@ -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