Skip to content

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

test(desktop): return Arc<CoreContext> from scoped_context helper

Steven Enamakel7eba711d749b
diff --git a/crates/openhuman-core/src/desktop/control/schemas_tests.rs b/crates/openhuman-core/src/desktop/control/schemas_tests.rs
index 9e21bd1aba..be1e1fa4c2 100644
--- a/crates/openhuman-core/src/desktop/control/schemas_tests.rs
+++ b/crates/openhuman-core/src/desktop/control/schemas_tests.rs
@@ -21,7 +21,7 @@ async fn desktop_controllers_expose_expected_rpc_contracts_and_dispatch_pending(
assert_eq!(controller("confirm").schema.inputs.len(), 2);
}
-fn scoped_context(computer: bool) -> (tempfile::TempDir, CoreContext) {
+fn scoped_context(computer: bool) -> (tempfile::TempDir, std::sync::Arc<CoreContext>) {
let dir = tempfile::tempdir().unwrap();
let mut config = crate::config::Config::default();
config.workspace_dir = dir.path().to_path_buf();