Skip to content

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

test(orchestration): clone cached router in workspace isolation test

Steven Enamakela2da14510f05
diff --git a/crates/openhuman-core/src/agent/orchestration/completion_target_tests.rs b/crates/openhuman-core/src/agent/orchestration/completion_target_tests.rs
index e89cee1c62..a4da638de7 100644
--- a/crates/openhuman-core/src/agent/orchestration/completion_target_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/completion_target_tests.rs
@@ -85,7 +85,7 @@ pub(crate) fn forget_workspace_for_test(workspace_dir: &Path) {
fn forgetting_one_workspace_keeps_other_cached_routers() {
let first = TestWorkspace::new();
let second = TestWorkspace::new();
- let second_router = entry_for(second.path()).router;
+ let second_router = entry_for(second.path()).router.clone();
forget_workspace_for_test(first.path());