The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(orchestration): attach workspace descriptor to e2e driver test
Steven Enamakel85bbb5d85926
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rsindex 4bf1f6d3ff..80c886d276 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_driver_tests.rs@@ -362,6 +362,8 @@ async fn deleting_parent_thread_cancels_driver_child_before_discarding_completiorelease: release.clone(),});let mut parent = parent_context(&workspace, provider, vec![]);+ let workspace_descriptor = tinytools::WorkspaceDescriptor::new(workspace.clone());+ parent.workspace_descriptor = Some(workspace_descriptor.clone());parent.workspace_dir = workspace.clone();parent.session_id = parent_session.into();@@ -378,7 +380,8 @@ async fn deleting_parent_thread_cancels_driver_child_before_discarding_completiohost_context.thread_id = Some(thread_id.into());let live = RunContext::<OpenHumanRunContext>::new(tinyagents_harness::context::RunConfig::new("delete-live-driver-parent")- .with_thread(thread_id),+ .with_thread(thread_id)+ .with_workspace(workspace_descriptor),host_context,);let dispatch = live.data.dispatch_ctx();@@ -445,18 +448,14 @@ async fn deleting_parent_thread_cancels_driver_child_before_discarding_completio.into_iter().find(|job| job.status == SubAgentJobStatus::Running && job.agent == "task_manager_agent").expect("spawned child is live in the TinyAgents job registry");- let owner = crate::agent::orchestration::completion_owners::driver_task_owner(- &dispatch,- &task_id,- )- .expect("spawn registers the exact task owner");+ let owner =+ crate::agent::orchestration::completion_owners::driver_task_owner(&dispatch, &task_id)+ .expect("spawn registers the exact task owner");assert_eq!(owner.workspace_dir, workspace);assert_eq!(owner.parent_thread_id.as_deref(), Some(thread_id));assert_eq!(crate::agent::orchestration::completion_owners::driver_tasks_for_thread(- &dispatch,- &workspace,- thread_id,+ &dispatch, &workspace, thread_id,).len(),1,