diff --git a/internal/core/adt/errors.go b/internal/core/adt/errors.go index 7c1ffbcf5..7b53e4f16 100644 --- a/internal/core/adt/errors.go +++ b/internal/core/adt/errors.go @@ -83,11 +83,7 @@ type Bottom struct { Src ast.Node Err errors.Error - Code ErrorCode - // Permanent indicates whether an incomplete error can be - // resolved later without making the configuration more specific. - // This may happen when an arc isn't fully resolved yet. - Permanent bool + Code ErrorCode HasRecursive bool ChildError bool // Err is the error of the child NotExists bool // This error originated from a failed lookup. diff --git a/tools/flow/tasks.go b/tools/flow/tasks.go index a6e74ef41..8b55a13c8 100644 --- a/tools/flow/tasks.go +++ b/tools/flow/tasks.go @@ -147,11 +147,6 @@ func (c *Controller) getTask(scope *Task, v cue.Value) *Task { return t } - if err := w.Err(c.opCtx); err != nil && err.Permanent { - c.addErr(err.Err, "invalid task") - return nil - } - // Look up cached task from previous evaluation. p := v.Path() key := p.String()