#InferTasks: true | |
-- in.cue -- | |
top0: { | |
$id: "valToOut" | |
} | |
top1: { | |
$id: "valToOut" | |
$after: top0 | |
} | |
top3: { | |
$id: string // not a task | |
} | |
root: { | |
t1: { | |
$id: "valToOut" | |
$after: [top1, top3] | |
} | |
} | |
-- out/run/errors -- | |
-- out/run/t0 -- | |
graph TD | |
t0("root.t1 [Waiting]") | |
t0-->t1 | |
t1("top1 [Waiting]") | |
t1-->t2 | |
t2("top0 [Ready]") | |
-- out/run/t1 -- | |
graph TD | |
t0("root.t1 [Waiting]") | |
t0-->t1 | |
t1("top1 [Ready]") | |
t1-->t2 | |
t2("top0 [Terminated]") | |
-- out/run/t1/value -- | |
{ | |
$id: "valToOut" | |
} | |
-- out/run/t2 -- | |
graph TD | |
t0("root.t1 [Ready]") | |
t0-->t1 | |
t1("top1 [Terminated]") | |
t1-->t2 | |
t2("top0 [Terminated]") | |
-- out/run/t2/value -- | |
{ | |
$id: "valToOut" | |
$after: { | |
$id: "valToOut" | |
} | |
} | |
-- out/run/t3 -- | |
graph TD | |
t0("root.t1 [Terminated]") | |
t0-->t1 | |
t1("top1 [Terminated]") | |
t1-->t2 | |
t2("top0 [Terminated]") | |
-- out/run/t3/value -- | |
{ | |
$id: "valToOut" | |
$after: [{ | |
$id: "valToOut" | |
$after: { | |
$id: "valToOut" | |
} | |
}, { | |
$id: string | |
}] | |
} |