Skip to content

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

test(orchestration): tighten workspace isolation assertion

Steven Enamakelc1edfe0ac96b
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
index edb4881e0c..1ec891800e 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
@@ -271,7 +271,7 @@ async fn driver_job_controls_are_isolated_by_workspace_with_shared_runtime_state
assert_eq!(foreign_wait.results.len(), 1);
let foreign_wait_text = foreign_wait.results[0].text();
assert!(
- foreign_wait_text.contains("not found") || foreign_wait_text.contains("does not exist"),
+ foreign_wait_text.contains("selected subagent job or session is unavailable"),
"A must receive a selector denial for B's generic job id, got: {foreign_wait_text}"
);
assert_eq!(