Normandy.OrchestrationError exception (normandy v2.2.0)

View Source

One or more agents of a Normandy.Coordination.SequentialOrchestrator.execute/3 or Normandy.Coordination.ParallelOrchestrator.execute/3 call failed.

  • :results - %{agent_id => output} for the agents that succeeded.
  • :errors - %{agent_id => exception} for the agents that failed: Normandy's own exception (Normandy.LLMError, Normandy.Schema.ValidationError, ...), the exception a bug raised (logged with its stacktrace where it was raised; the stacktrace is not kept here), or a :task_down Normandy.TurnError for an agent that exited (reason the exit reason) or ran past :timeout (reason: :timeout).

An agent in neither map did not run (SequentialOrchestrator with on_error: :stop). The message names the failed agents and their exception modules, never values from them.

Summary

Types

t()

@type t() :: %Normandy.OrchestrationError{
  __exception__: true,
  errors: %{required(String.t()) => Exception.t()},
  results: %{required(String.t()) => term()}
}