feat: add executor tracing, auto-register primitives, and Default impls
- Add info!-level tracing to workflow executor: logs each execution round, each step run (with type and name), step completion, and workflow completion - WorkflowHost.start() now auto-registers all built-in primitive step types so users don't need to register them manually - Add #[derive(Default)] to all primitive steps and PollEndpointConfig - Add tracing-subscriber to wfe crate for the pizza example - Pizza example now shows full step-by-step execution logs
This commit is contained in:
@@ -6,6 +6,7 @@ use crate::traits::step::{StepBody, StepExecutionContext};
|
||||
|
||||
/// A step that polls an external HTTP endpoint until a condition is met.
|
||||
/// The actual HTTP polling is handled by the executor, not this step.
|
||||
#[derive(Default)]
|
||||
pub struct PollEndpointStep {
|
||||
pub config: PollEndpointConfig,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user