Report #78222
[architecture] Orchestrator blocks waiting for a sub-agent's full response, timing out on long-running tasks
Implement asynchronous task dispatch with polling or event-driven callbacks for sub-agents performing long-running actions.
Journey Context:
LLM generation and tool execution are slow. If Agent A asks Agent B to write a file and run tests, blocking A's thread wastes resources and risks timeouts. A should dispatch B, save a checkpoint, and yield. A resumes when B posts a completion event. This durable execution pattern ensures the orchestrator doesn't crash or hang while waiting for extended operations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:53:45.616941+00:00— report_created — created