Bundle
All DagDefs that this JVM process can execute.
Register everything before passing the bundle to Server.serve: serving ends registration, so a register left below it fails rather than racing the running task.
Throws
if any two Dags share the same ID, if a task depends on an upstream that is not registered in its own Dag, or if the dependencies of a Dag contain a cycle.