feat(wfe-core): add add_step_typed() and make wire_outcome public

Adds WorkflowBuilder::add_step_typed<S>() for adding named, configured
steps directly — needed for parallel branch closures in the CLI.
Makes wire_outcome() public so callers can wire custom step graphs.
This commit is contained in:
2026-04-05 12:44:00 +01:00
parent 6c16c89379
commit de66fef2d6
2 changed files with 54 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ members = ["wfe-core", "wfe-sqlite", "wfe-postgres", "wfe-opensearch", "wfe-valk
resolver = "2"
[workspace.package]
version = "1.6.1"
version = "1.6.2"
edition = "2024"
license = "MIT"
repository = "https://src.sunbeam.pt/studio/wfe"
@@ -38,15 +38,15 @@ redis = { version = "0.27", features = ["tokio-comp", "connection-manager"] }
opensearch = "2"
# Internal crates
wfe-core = { version = "1.6.1", path = "wfe-core", registry = "sunbeam" }
wfe-sqlite = { version = "1.6.1", path = "wfe-sqlite", registry = "sunbeam" }
wfe-postgres = { version = "1.6.1", path = "wfe-postgres", registry = "sunbeam" }
wfe-opensearch = { version = "1.6.1", path = "wfe-opensearch", registry = "sunbeam" }
wfe-valkey = { version = "1.6.1", path = "wfe-valkey", registry = "sunbeam" }
wfe-yaml = { version = "1.6.1", path = "wfe-yaml", registry = "sunbeam" }
wfe-buildkit = { version = "1.6.1", path = "wfe-buildkit", registry = "sunbeam" }
wfe-containerd = { version = "1.6.1", path = "wfe-containerd", registry = "sunbeam" }
wfe-rustlang = { version = "1.6.1", path = "wfe-rustlang", registry = "sunbeam" }
wfe-core = { version = "1.6.2", path = "wfe-core", registry = "sunbeam" }
wfe-sqlite = { version = "1.6.2", path = "wfe-sqlite", registry = "sunbeam" }
wfe-postgres = { version = "1.6.2", path = "wfe-postgres", registry = "sunbeam" }
wfe-opensearch = { version = "1.6.2", path = "wfe-opensearch", registry = "sunbeam" }
wfe-valkey = { version = "1.6.2", path = "wfe-valkey", registry = "sunbeam" }
wfe-yaml = { version = "1.6.2", path = "wfe-yaml", registry = "sunbeam" }
wfe-buildkit = { version = "1.6.2", path = "wfe-buildkit", registry = "sunbeam" }
wfe-containerd = { version = "1.6.2", path = "wfe-containerd", registry = "sunbeam" }
wfe-rustlang = { version = "1.6.2", path = "wfe-rustlang", registry = "sunbeam" }
# YAML
serde_yaml = "0.9"