Refactor(harness): remove naive inline graph engine , unify graph execution under single pregel engine (#16608)

This commit is contained in:
Yingfeng
2026-07-03 17:50:30 +08:00
committed by GitHub
parent 3cba34d67f
commit 8db68e3eec
46 changed files with 894 additions and 1203 deletions

View File

@@ -87,7 +87,7 @@ type parallelItemResult struct {
// sub is the already-compiled sub-graph to invoke per item.
func NewParallelNodeFunc(
key string,
sub *CompiledGraph,
sub *compiledGraph,
opts ...ParallelOption,
) (types.NodeFunc, error) {
if key == "" {
@@ -129,7 +129,7 @@ func NewParallelNodeFunc(
func runParallel(
ctx context.Context,
key string,
sub *CompiledGraph,
sub *compiledGraph,
items []interface{},
options *parallelOptions,
) (interface{}, error) {
@@ -223,7 +223,7 @@ func runParallel(
func fanOutItems(
ctx context.Context,
key string,
sub *CompiledGraph,
sub *compiledGraph,
items []interface{},
indices []int,
options *parallelOptions,