fix(wfe-yaml): replace SubWorkflow placeholder with real implementation

The YAML compiler was using SubWorkflowPlaceholderStep that returned
next() immediately. Replaced with real SubWorkflowStep from wfe-core
that starts child workflows and waits for completion events.

Added regression test verifying the compiled factory produces a step
that calls host_context.start_workflow() and returns wait_for_event.
This commit is contained in:
2026-03-26 15:58:47 +00:00
parent 20f32531b7
commit fe65d2debc
3 changed files with 95 additions and 25 deletions

View File

@@ -41,6 +41,7 @@ fn make_context<'a>(
step,
workflow,
cancellation_token: tokio_util::sync::CancellationToken::new(),
host_context: None,
}
}