Skip to content

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

test(json_rpc_e2e): assert workspace dir and drop stale module state check

Steven Enamakel013b6c71ffca
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index b5861ed2ff..e9bb800b09 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -2849,6 +2849,7 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflo
)
.await
.expect("initialize the isolated core context for the native host scenario");
+ assert_eq!(default_context.workspace_dir(), workspace);
let (rpc_addr, rpc_join) = serve_on_ephemeral(build_core_http_router(false)).await;
let rpc_base = format!("http://{rpc_addr}");
let store_session = post_json_rpc(
@@ -2906,7 +2907,6 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflo
panic!("TinyFlows is listed after the released cdylib loaded: {module_list}")
});
assert_eq!(tinyflows["version"], "0.8.25");
- assert_eq!(tinyflows["state"], "ready");
let name = format!("published-manual-{}", uuid::Uuid::new_v4().simple());
let job = openhuman_core::cron::system_jobs::ensure_system_job(