feat(wfe-server): full feature set, debian base, name resolution in gRPC
Proto changes: * Add `name` to `WorkflowInstance`, `WorkflowSearchResult`, `RegisteredDefinition`, and `DefinitionSummary` messages. * Add optional `name` override to `StartWorkflowRequest` and echo the assigned name back in `StartWorkflowResponse`. * Document that `GetWorkflowRequest.workflow_id` accepts UUID or human name. gRPC handler changes: * `start_workflow` honors the optional name override and reads the instance back to return the assigned name to clients. * `get_workflow` flows through `WorkflowHost::get_workflow`, which already falls back from UUID to name lookup. * `stream_logs`, `watch_lifecycle`, and `search_logs` resolve name-or-UUID up front so the LogStore/lifecycle bus (keyed by UUID) subscribe to the right instance. * `register_workflow` propagates the definition's display name into `RegisteredDefinition.name`. Crate build changes: * Enable the full executor feature set on wfe-yaml — `rustlang,buildkit,containerd,kubernetes,deno` — so the shipped binary recognizes every step type users can write. * Dockerfile switched from `rust:alpine` to `rust:1-bookworm` + `debian:bookworm-slim` runtime. `deno_core` bundles a v8 binary that only ships glibc; alpine/musl can't link it without building v8 from source.
This commit is contained in:
@@ -14,9 +14,9 @@ path = "src/main.rs"
|
||||
[dependencies]
|
||||
# Internal
|
||||
wfe-core = { workspace = true, features = ["test-support"] }
|
||||
wfe = { version = "1.8.1", path = "../wfe", registry = "sunbeam" }
|
||||
wfe-yaml = { version = "1.8.1", path = "../wfe-yaml", registry = "sunbeam", features = ["rustlang", "buildkit", "containerd"] }
|
||||
wfe-server-protos = { version = "1.8.1", path = "../wfe-server-protos", registry = "sunbeam" }
|
||||
wfe = { version = "1.9.0", path = "../wfe", registry = "sunbeam" }
|
||||
wfe-yaml = { version = "1.9.0", path = "../wfe-yaml", registry = "sunbeam", features = ["rustlang", "buildkit", "containerd", "kubernetes", "deno"] }
|
||||
wfe-server-protos = { version = "1.9.0", path = "../wfe-server-protos", registry = "sunbeam" }
|
||||
wfe-sqlite = { workspace = true }
|
||||
wfe-postgres = { workspace = true }
|
||||
wfe-valkey = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user