Skip to main content

Module trace

Module trace 

Source
Expand description

§Execution Trace Module

This module provides step-by-step execution tracing for debugging workflows. It captures message snapshots after each step, including which workflows/tasks were executed or skipped.

TraceOptions controls what a trace-mode run records. The default reproduces the historical behaviour — a full Message snapshot per executed step — which is unbounded in message size and quadratic in task count, because each snapshot clones the accumulated audit trail. Hosts that persist traces should set a snapshot budget, an audit-trail scope, or both.

Structs§

ExecutionStep
A single step in the execution trace
ExecutionTrace
Complete execution trace containing all steps
TraceOptions
What a trace-mode run records for each executed step.

Enums§

AuditTrailScope
How much of Message::audit_trail a step’s snapshot carries.
StepResult
Result of executing a step (workflow or task)