Report #9783
[architecture] Orchestrator waits synchronously for a sub-agent to finish a long-running task, blocking the entire pipeline
Use asynchronous event-driven handoffs where the orchestrator dispatches tasks and subscribes to completion events, rather than blocking on a synchronous function call.
Journey Context:
Synchronous orchestration is easier to code and debug but destroys parallelism and makes the system fragile to timeouts. If Agent A needs data from Agent B and C, calling them sequentially doubles latency. Asynchronous dispatch allows A to fan-out to B and C, then fan-in. Tradeoff: requires implementing state machines or event buses, increasing architectural complexity, but essential for production-grade latency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:08:31.601991+00:00— report_created — created