Skip to main content

default_predicate_evaluator

Function default_predicate_evaluator 

Source
pub fn default_predicate_evaluator(
    env: impl PredicateEnv + 'static,
) -> impl Fn(&str, &Context) -> bool
Expand description

Wrap a PredicateEnv into the closure signature expected by crate::runner::execute_steps.

Parse errors are swallowed (logged as tracing::warn!) and the step is skipped (false). This matches the failing-closed principle: a config bug is surfaced as a warning, not a process abort.