Executor 与 dry_run 共用的信号分支、上下文合并工具。
Summary
Functions
判断一条边是否激活。
读取 edge 的 signal/when/branch 匹配值。
从 context / dep_results 读取 dotted path。
返回节点依赖边。
把当前层结果转换成 signal history。
按一个执行层的结果合并 context。
按 output_key 或 node_id 合并节点输出到运行上下文。
判断节点是否应在当前 results/pruned 下激活。
从节点输出推导 signal。
Functions
判断一条边是否激活。
读取 edge 的 signal/when/branch 匹配值。
从 context / dep_results 读取 dotted path。
@spec incoming_edges(CMDCOrchestrator.DAG.t(), String.t()) :: [map()]
返回节点依赖边。
把当前层结果转换成 signal history。
@spec merge_layer_outputs(map(), CMDCOrchestrator.DAG.t(), map(), [String.t()]) :: map()
按一个执行层的结果合并 context。
按 output_key 或 node_id 合并节点输出到运行上下文。
@spec node_active?(String.t(), CMDCOrchestrator.DAG.t(), map(), MapSet.t()) :: boolean()
判断节点是否应在当前 results/pruned 下激活。
从节点输出推导 signal。