Skip to content

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

test(worker-c-modules-e2e): add missing env_lock import

Steven Enamakeleeb7b6ca1600
diff --git a/tests/in_process/worker_c_modules_e2e.rs b/tests/in_process/worker_c_modules_e2e.rs
index 4f2cb61178..8f3c3bbd3d 100644
--- a/tests/in_process/worker_c_modules_e2e.rs
+++ b/tests/in_process/worker_c_modules_e2e.rs
@@ -4,7 +4,7 @@
//! composio / threads slice and drives the real HTTP JSON-RPC router against
//! an isolated workspace. It avoids live network calls.
-use crate::env_guard::env_lock_async;
+use crate::env_guard::{env_lock, env_lock_async};
use crate::env_guard::EnvVarGuard;
use crate::rpc_auth::ensure_rpc_auth;
use crate::rpc_harness::{ok, rpc};
@@ -822,4 +822,3 @@ async fn serve_composio_direct_fixtures() -> (
let join = tokio::spawn(async move { axum::serve(listener, app).await });
(format!("http://{addr}"), hits, join)
}
-