From 5117102cee1239f3e5c4b6cf202f612e30900ed9 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Fri, 11 Oct 2024 13:07:50 +1100 Subject: [PATCH] remove handling of invalidated dependencies --- internal/buildengine/engine.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/internal/buildengine/engine.go b/internal/buildengine/engine.go index 43afc67f4..a3c654510 100644 --- a/internal/buildengine/engine.go +++ b/internal/buildengine/engine.go @@ -820,13 +820,7 @@ func (e *Engine) build(ctx context.Context, moduleName string, builtModules map[ if err != nil { terminal.UpdateModuleState(ctx, moduleName, terminal.BuildStateFailed) if errors.Is(err, errInvalidateDependencies) { - go func() { - logger := log.FromContext(ctx) - err := e.BuildAndDeploy(ctx, 1, true, moduleName) - e.reportBuildFailed(err) - terminal.UpdateModuleState(ctx, moduleName, terminal.BuildStateFailed) - logger.Errorf(err, "Build and deploy failed for module %q", moduleName) - }() + // TODO: handle this } return err }