Skip to content

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

test(orchestration): assert workspace identity differs in owner scope

Steven Enamakel29d289c0b7d2
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 1b6274b2f3..149156bc1b 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
@@ -9,9 +9,7 @@ async fn driver_job_controls_are_isolated_by_workspace_with_shared_runtime_state
use crate::core::runtime::{ContextOverlay, CoreContext, DomainSet};
use crate::tools::toolpacks::ToolGroups;
use tinyagents_harness::agent_loop::phases::execute_tool_batch;
- use tinyagents_orchestration::subagent::{
- SubAgentJobRegistry, SubAgentJobStatus,
- };
+ use tinyagents_orchestration::subagent::SubAgentJobRegistry;
use tinyagents_runtime::turn_driver::SharedToolSet;
struct PausedModel {
@@ -135,6 +133,7 @@ async fn driver_job_controls_are_isolated_by_workspace_with_shared_runtime_state
"same-parent-session",
Some("same-parent-thread"),
);
+ assert_ne!(owner_a, owner_b, "workspace identity is part of the owner scope");
let job_a = jobs_a
.list()
.into_iter()