Class WorkflowHistoryObserver
Observes workflow executions and ingests them into the workflow history graph. Handles flattening of nested steps, computing fingerprints, and recording transitions (both sequential and sub-step relationships).
public sealed class WorkflowHistoryObserver : IWorkflowHistoryObserver
- Inheritance
-
WorkflowHistoryObserver
- Implements
- Inherited Members
Constructors
WorkflowHistoryObserver(IWorkflowHistoryGraphStore)
public WorkflowHistoryObserver(IWorkflowHistoryGraphStore store)
Parameters
Methods
IngestRunAsync(AgentWorkflowDefinition, WorkflowBridgeResult, CancellationToken)
Ingest a completed workflow run into the history graph.
public Task IngestRunAsync(AgentWorkflowDefinition definition, WorkflowBridgeResult result, CancellationToken ct = default)
Parameters
definitionAgentWorkflowDefinitionThe workflow definition that was executed.
resultWorkflowBridgeResultThe result of the workflow execution.
ctCancellationTokenCancellation token.