fix: null guard on assignees in orchestrator dispatch

This commit is contained in:
Alexander Whitestone
2026-04-07 12:34:02 -04:00
parent cf213bffd1
commit 7399c83024

View File

@@ -397,7 +397,7 @@ def assign_issue(repo, number, agent_name):
if not result:
return False
current = [a.get("login", "") for a in result.get("assignees", [])]
current = [a.get("login", "") for a in (result.get("assignees") or [])]
if agent_name in current:
print(f" Already assigned to {agent_name}")
return True