From f28801e125ff05684ec67a47bb199b2d4f3ffb51 Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 11 Jul 2024 09:21:00 -0700 Subject: [PATCH] fix: building withing lower parallelism than dependency group size --- buildengine/engine.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/buildengine/engine.go b/buildengine/engine.go index d44bcb159c..8064b628d2 100644 --- a/buildengine/engine.go +++ b/buildengine/engine.go @@ -690,11 +690,7 @@ func (e *Engine) build(ctx context.Context, moduleName string, builtModules map[ return fmt.Errorf("module %q not found", moduleName) } - combined := map[string]*schema.Module{} - if err := e.gatherSchemas(builtModules, combined); err != nil { - return err - } - sch := &schema.Schema{Modules: maps.Values(combined)} + sch := &schema.Schema{Modules: maps.Values(builtModules)} if e.listener != nil { e.listener.OnBuildStarted(meta.module)