From 30d7366a31dba7e28b9107130568c546063e8082 Mon Sep 17 00:00:00 2001 From: zumayaaustin Date: Thu, 9 Jul 2026 01:18:05 +0000 Subject: [PATCH] Recompute path in kanban dispatch error handler to avoid unbound local Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index bfd6f12..c99503a 100644 --- a/server.py +++ b/server.py @@ -1081,6 +1081,7 @@ def _run_kanban_agent(task_id: str): except Exception as e: print(f"[kanban] dispatch for task {task_id} crashed: {e}") try: + path = kanban_task_path(task_id) task = json.loads(path.read_text()) task["status"] = "blocked" task["block_reason"] = f"Dispatch crashed: {e}"[:300]