Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(json_rpc): document workflows lifecycle round trip

Steven Enamakel6a4e0cd90ae8
diff --git a/tests/json_rpc_flows_e2e.rs b/tests/json_rpc_flows_e2e.rs
index 9866961e6b..25bff6ff50 100644
--- a/tests/json_rpc_flows_e2e.rs
+++ b/tests/json_rpc_flows_e2e.rs
@@ -426,6 +426,11 @@ async fn json_rpc_workflow_run_definitions_and_runs_roundtrip() {
rpc_join.abort();
}
+#[tokio::test]
+/// Full lifecycle over JSON-RPC for the `workflows` namespace:
+/// create → list → read → phase → uninstall. Workflows are scaffolded under
+/// the user-scope root (`$HOME/.openhuman/workflows/<slug>/`), which the temp
+/// `HOME` isolates per-test.
#[tokio::test]
async fn json_rpc_workflows_lifecycle_round_trip() {
let _env_lock = json_rpc_e2e_env_lock_async().await;