Skip to content

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

test(subagent-host): update test fixtures for new run queue field

Steven Enamakel1c226ca84273
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
index dd9865240b..bbf578fda9 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
@@ -272,6 +272,7 @@ async fn explicit_worker_thread_replaces_parent_for_model_run_and_transcript() {
2,
None,
None,
+ None,
"researcher",
"worker-task",
false,
@@ -317,6 +318,7 @@ async fn subagent_runs_through_the_graph_engine_with_real_tools() {
10,
None,
None,
+ None,
"researcher",
"task-1",
false,
@@ -402,6 +404,7 @@ async fn child_text_and_thinking_deltas_are_scoped_to_the_subagent() {
HashSet::new(),
4,
None,
+ None,
Some(tx),
"researcher",
"task-7",
@@ -539,6 +542,7 @@ async fn ask_user_clarification_pauses_and_surfaces_the_question() {
10,
None,
None,
+ None,
"researcher",
"task-9",
false,
@@ -631,6 +635,7 @@ async fn cap_hit_summarizes_a_resumable_checkpoint() {
2,
None,
None,
+ None,
"researcher",
"task-cap",
false,
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
index 922523d7b8..27027a0dc4 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
@@ -1,6 +1,6 @@
use super::*;
use crate::agent::subagent_host::run_subagent;
-use crate::agent::subagent_host::run_async_spawn_via_driver_tool;
+use crate::agent::subagent_host::{run_async_spawn_via_driver_tool, SubagentRunStatus};
use tinyagents_harness::context::{current_run_depth, with_run_depth, RunDepth};
#[tokio::test]
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_slug_filter_typed_mode_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_slug_filter_typed_mode_tests.rs
index c0d47e6681..0e549808c7 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_slug_filter_typed_mode_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_slug_filter_typed_mode_tests.rs
@@ -179,6 +179,7 @@ async fn typed_mode_returns_text_through_runner() {
checkpoint_dir: None,
worktree_action_dir: None,
run_queue: None,
+ message_run_queue: None,
},
),
)
@@ -409,6 +410,7 @@ async fn typed_mode_filters_tools_by_skill_filter() {
checkpoint_dir: None,
worktree_action_dir: None,
run_queue: None,
+ message_run_queue: None,
},
),
)
diff --git a/crates/openhuman-core/src/agent/tinyagents/budget_stop_turn_tests.rs b/crates/openhuman-core/src/agent/tinyagents/budget_stop_turn_tests.rs
index c97697dd10..e12e2fd3f5 100644
--- a/crates/openhuman-core/src/agent/tinyagents/budget_stop_turn_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/budget_stop_turn_tests.rs
@@ -319,6 +319,7 @@ fn a_turn_before_its_wind_down_point_runs_to_its_final_answer() {
max_iterations: 50,
context_window: None,
run_queue: None,
+ message_run_queue: None,
early_exit_tools: &[],
pause_at_cap: true,
max_output_tokens: None,
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs b/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs
index 067c8a4b45..9297fe019d 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs
@@ -260,6 +260,7 @@ async fn run_root_with(
max_iterations: 2,
context_window: None,
run_queue: None,
+ message_run_queue: None,
early_exit_tools: &[],
pause_at_cap: false,
max_output_tokens: None,