chore: record next rpc server slices

This commit is contained in:
lda
2026-06-05 00:03:56 +07:00 Unverified
parent 6b6b5ab394
commit 3941b88e8c
5 changed files with 38 additions and 4 deletions
+3 -2
View File
@@ -67,11 +67,12 @@ def serve(
if config is not None:
workflow_config = load_workflow_config(config)
store = workflow_config.server.store
if not isinstance(store, FilesystemStoreConfig):
if server is None and not isinstance(store, FilesystemStoreConfig):
raise typer.BadParameter(
"wf-rpc-server currently requires filesystem store"
)
resolved_store_root = resolved_store_root or store.root
if server is None:
resolved_store_root = resolved_store_root or store.root
rpc_transport = next(
(
transport