debug: add print statements to track executor initialization
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled

This commit is contained in:
Gan, Jimmy
2026-04-02 08:59:06 +08:00
parent 7cbc553521
commit a31000d8ad
+11 -2
View File
@@ -320,5 +320,14 @@ async def get_executor() -> AgentExecutor:
async def start_executor(): async def start_executor():
"""Start the executor service""" """Start the executor service"""
executor = await get_executor() print("start_executor() called")
await executor.start() try:
executor = await get_executor()
print(f"Executor obtained: {executor is not None}, running: {executor.running}")
await executor.start()
print("Executor start() completed (should not reach here as start() is infinite loop)")
except Exception as e:
print(f"ERROR in start_executor: {e}")
import traceback
traceback.print_exc()
raise