SquidSonar.Runs.RunDetail (squid_sonar v0.3.0)

Copy Markdown View Source

Detailed run projection for the run detail view.

Summary

Functions

Builds a run detail projection and derives its timeline from the visible snapshot.

Builds a run detail projection with a host-provided visible timeline.

Types

t()

@type t() :: %SquidSonar.Runs.RunDetail{
  anomalies: [map()],
  attempts: [map()],
  compensation_evidence: [SquidSonar.Runs.RunDetail.CompensationEvidence.t()],
  context: map(),
  controls_allowed?: boolean(),
  deferred_continuations: [SquidSonar.Runs.RunDetail.DeferredContinuation.t()],
  dynamic_work: [map()],
  dynamic_work_overlays: [SquidSonar.Runs.RunDetail.DynamicWorkOverlay.t()],
  explanation: Squidie.ReadModel.Explanation.Diagnostic.t(),
  graph_inspection: map(),
  last_error: map() | nil,
  live_claims: [SquidSonar.Runs.RunDetail.LiveClaim.t()],
  payload: map() | nil,
  planned_runnables: [map()],
  recovery_policies: [SquidSonar.Runs.RunDetail.RecoveryPolicy.t()],
  summary: SquidSonar.Runs.RunDetail.Summary.t(),
  timeline: Squidie.ReadModel.Timeline.t(),
  timeline_partial?: boolean(),
  workflow_graph: SquidSonar.Runs.WorkflowGraph.t()
}

Functions

from_models(snapshot, explanation, graph)

Builds a run detail projection and derives its timeline from the visible snapshot.

from_models(snapshot, explanation, graph, timeline, opts \\ [])

Builds a run detail projection with a host-provided visible timeline.

Set :timeline_partial? when the timeline was reconstructed from a fallback snapshot.