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
fix(tests): give the integration-test parent contexts the field #6162 added
Shanue563a0586ecf
diff --git a/tests/agent_harness_public.rs b/tests/agent_harness_public.rsindex a1ca5e5c94..cffea8ef30 100644--- a/tests/agent_harness_public.rs+++ b/tests/agent_harness_public.rs@@ -103,6 +103,10 @@ fn stub_parent_context() -> ParentExecutionContext {)),all_tools: Arc::new(vec![]),all_tool_specs: Arc::new(vec![]),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "stub-model".into(),diff --git a/tests/calendar_grounding_e2e.rs b/tests/calendar_grounding_e2e.rsindex e9d08e0c6c..f8f4a36d96 100644--- a/tests/calendar_grounding_e2e.rs+++ b/tests/calendar_grounding_e2e.rs@@ -163,6 +163,10 @@ async fn test_integrations_agent_has_current_date_context() -> Result<()> {openhuman_core::openhuman::agent::tinyagents::TurnModelSource::from_model(model),all_tools: Arc::new(vec![Box::new(MockCalendarTool)]),all_tool_specs: Arc::new(vec![MockCalendarTool.spec()]),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "test-model".into(),diff --git a/tests/composio_list_tools_stack_overflow_regression.rs b/tests/composio_list_tools_stack_overflow_regression.rsindex 0d7b455325..90cf872b4a 100644--- a/tests/composio_list_tools_stack_overflow_regression.rs+++ b/tests/composio_list_tools_stack_overflow_regression.rs@@ -343,6 +343,10 @@ async fn drive_subagent() {openhuman_core::openhuman::agent::tinyagents::TurnModelSource::from_model(model),all_tools: Arc::new(vec![]),all_tool_specs: Arc::new(vec![]),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "test-model".into(),diff --git a/tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rs b/tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rsindex 30a74039fc..bdfa0dec8c 100644--- a/tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rs@@ -262,6 +262,10 @@ fn parent_context(workspace: &Path, model: Arc<ScriptedModel>) -> ParentExecutio),all_tools: Arc::new(tools),all_tool_specs: Arc::new(specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "round21-parent-model".to_string(),diff --git a/tests/raw_coverage/agent_harness_leftovers_raw_coverage_e2e.rs b/tests/raw_coverage/agent_harness_leftovers_raw_coverage_e2e.rsindex e0a0dcb937..2047876ad6 100644--- a/tests/raw_coverage/agent_harness_leftovers_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_harness_leftovers_raw_coverage_e2e.rs@@ -367,6 +367,10 @@ fn parent_context(workspace: PathBuf, provider: Arc<ScriptedModel>) -> ParentExeopenhuman_core::openhuman::agent::tinyagents::TurnModelSource::from_model(provider),all_tools: Arc::new(tools),all_tool_specs: Arc::new(specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "round19-parent".to_string(),diff --git a/tests/raw_coverage/agent_harness_raw_coverage_e2e.rs b/tests/raw_coverage/agent_harness_raw_coverage_e2e.rsindex 82c6c1600b..32ec8e46a8 100644--- a/tests/raw_coverage/agent_harness_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_harness_raw_coverage_e2e.rs@@ -276,6 +276,10 @@ fn parent_context(workspace: PathBuf, provider: Arc<ScriptedModel>) -> ParentExe),all_tools: Arc::new(tools),all_tool_specs: Arc::new(tool_specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "coverage-model".to_string(),diff --git a/tests/raw_coverage/agent_large_round25_raw_coverage_e2e.rs b/tests/raw_coverage/agent_large_round25_raw_coverage_e2e.rsindex 0a0daeafb7..929d86ee43 100644--- a/tests/raw_coverage/agent_large_round25_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_large_round25_raw_coverage_e2e.rs@@ -326,6 +326,10 @@ fn parent(workspace_dir: PathBuf, model: Arc<ScriptedModel>) -> ParentExecutionC),all_tools: Arc::new(tools),all_tool_specs: Arc::new(specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "round25-parent-model".to_string(),diff --git a/tests/raw_coverage/agent_prompts_subagent_raw_coverage_e2e.rs b/tests/raw_coverage/agent_prompts_subagent_raw_coverage_e2e.rsindex 09b642189d..b1feaa8b24 100644--- a/tests/raw_coverage/agent_prompts_subagent_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_prompts_subagent_raw_coverage_e2e.rs@@ -288,6 +288,10 @@ fn parent(workspace: PathBuf, model: Arc<ScriptedModel>) -> ParentExecutionConte),all_tools: Arc::new(tools),all_tool_specs: Arc::new(specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "round18-model".to_string(),diff --git a/tests/raw_coverage/agent_session_turn_raw_coverage_e2e.rs b/tests/raw_coverage/agent_session_turn_raw_coverage_e2e.rsindex f6b0328e62..ac2c73d91b 100644--- a/tests/raw_coverage/agent_session_turn_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_session_turn_raw_coverage_e2e.rs@@ -1115,6 +1115,10 @@ async fn subagent_runner_parent_context_filters_tools_caps_output_and_reports_er),all_tools: Arc::new(all_tools),all_tool_specs: Arc::new(all_specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "parent-model".to_string(),diff --git a/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs b/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rsindex cf80f067d7..8654ab9ba8 100644--- a/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs+++ b/tests/raw_coverage/tools_agent_credentials_state_raw_coverage_e2e.rs@@ -363,6 +363,10 @@ fn parent_context(workspace: PathBuf, provider: Arc<ScriptedModel>) -> ParentExe),all_tools: Arc::new(tools),all_tool_specs: Arc::new(tool_specs),+ // #6145: empty means "same surface as `all_tool_specs`" — the+ // catalogue falls back to it, so these stubs keep the behaviour+ // they had before the parent's visible set became its own field.+ visible_tool_specs: Arc::new(Vec::new()),visible_tool_names: std::collections::HashSet::new(),subagent_tool_ceiling_names: std::collections::HashSet::new(),model_name: "round16-model".to_string(),