Botica.Runner.Executor (Botica v2.2.0)

Copy Markdown View Source

Executes health checks in parallel with timeout support.

This module provides the core execution engine for Botica checks, running them in parallel while respecting timeout constraints. Low-level check execution is delegated to Botica.Runner.CheckRunner.

Summary

Functions

Executes all checks in parallel and returns structured results.

Executes all checks in parallel with custom options. See module @moduledoc for the option list.

Executes checks sequentially (for debugging or ordered execution).

Functions

execute(config)

@spec execute(Botica.Types.config()) ::
  {:ok, [Botica.Types.result()]} | {:error, String.t()}

Executes all checks in parallel and returns structured results.

execute(config, opts)

@spec execute(Botica.Types.config(), Botica.Types.executor_options()) ::
  {:ok, [Botica.Types.result()]} | {:error, String.t()}

Executes all checks in parallel with custom options. See module @moduledoc for the option list.

execute_sequential(config)

@spec execute_sequential(Botica.Types.config()) ::
  {:ok, [Botica.Types.result()]} | {:error, String.t()}

Executes checks sequentially (for debugging or ordered execution).