Skip to content

Commit

Permalink
remove handling of invalidated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Oct 11, 2024
1 parent be08522 commit 5117102
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions internal/buildengine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5117102

Please sign in to comment.