A surprisingly common bug in async AI pipelines: tasks that never finish. They sit at 'running' forever, holding credits and confusing users. The root cause is almost always fuzzy terminal-state handling.
Fix it with discipline:
With multi-route generation, terminal handling gets one extra wrinkle: a route may fail after your client has already accepted the task. Keep one logical task id across route switches so terminal state is unambiguous.
Reliability is not just about making things work — it is about making failures clean and finite. Explicit terminal states are the foundation of that.