Class WorkflowRunner
Executes registered build steps in sequence with timing and logging. Implements fail-fast behavior: stops on first step failure.
public class WorkflowRunner
- Inheritance
-
WorkflowRunner
- Inherited Members
Constructors
WorkflowRunner(StepRegistry, IBuildLogger)
Executes registered build steps in sequence with timing and logging. Implements fail-fast behavior: stops on first step failure.
public WorkflowRunner(StepRegistry registry, IBuildLogger logger)
Parameters
registryStepRegistryloggerIBuildLogger
Methods
RunAsync(BuildOptions, string?, CancellationToken)
Executes all registered steps in order.
public Task<WorkflowResult> RunAsync(BuildOptions options, string? scriptPath = null, CancellationToken cancellationToken = default)
Parameters
optionsBuildOptionsBuild options (configuration, etc.).
scriptPathstringPath to build script for logging context.
cancellationTokenCancellationTokenToken to cancel the workflow execution.
Returns
- Task<WorkflowResult>
Result containing success status and detailed step results.