job_queue: drop the NodeKind::Dag/root filter from the QueueNodes lookup
This commit is contained in:
parent
10b0f640af
commit
309c1c91c6
4 changed files with 48 additions and 43 deletions
|
|
@ -66,8 +66,8 @@ async fn wait_for_dags_plain(socket: &Path, ids: Vec<u64>) -> Result<()> {
|
|||
let nodes = resp.nodes.unwrap_or_default();
|
||||
let Some(root) = find_root(&nodes) else {
|
||||
// Unknown id — nothing prunes the graph yet (see
|
||||
// `JobQueue::dag_nodes`'s doc comment), so an id that
|
||||
// resolves to no container never named a real DAG. A
|
||||
// `JobQueue::node_subtree`'s doc comment), so an id that
|
||||
// resolves to no node never named a real DAG. A
|
||||
// *completed* DAG's nodes keep riding here instead, with a
|
||||
// terminal root `state`, which is what the check below
|
||||
// watches for.
|
||||
|
|
|
|||
Loading…
Reference in a new issue