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
chore(subagents): add debug logging to thread cancellation
Steven Enamakel750ec628fddc
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rsindex e04afdb9a7..ea95d3b181 100644--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs@@ -305,6 +305,10 @@ pub(crate) fn cancel_for_thread(ctx: &crate::core::runtime::DispatchCtx, thread_&workspace_dir,thread_id,);+ eprintln!(+ "thread-delete scope workspace={workspace_dir:?} thread={thread_id} owners={}",+ scopes.len()+ );let jobs = crate::core::runtime::slot_for::<tinyagents_harness_tools::subagents::SubAgentJobRegistry,>(ctx);@@ -317,7 +321,10 @@ pub(crate) fn cancel_for_thread(ctx: &crate::core::runtime::DispatchCtx, thread_}scopes_seen.push(scope.clone());match jobs.cancel_for_thread(&scope) {- Ok(count) => cancelled += count,+ Ok(count) => {+ eprintln!("thread-delete cancel scope={scope:?} count={count}");+ cancelled += count;+ }Err(error) => log::warn!("[running_subagents] driver thread deletion cancellation failed: {error}"),