Skip to content

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

test(orchestration): remove retired fanout routing test

Steven Enamakel503766527acb
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
index b17ccb5bdb..38ed46dba2 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
@@ -12,6 +12,7 @@ pub(crate) use cancel::{
cancel_for_thread, stop_for_thread, CancelledSubagent,
};
pub(crate) use registry::admit_spawn;
+#[cfg(test)]
pub(crate) use registry::RegistrationError;
pub(crate) use roster::active_subagents_context_block;
pub(crate) use task_ledger::reconcile_orphaned_tasks_on_boot;
diff --git a/tests/in_process/orchestrator_parallel_fanout_routing.rs b/tests/in_process/orchestrator_parallel_fanout_routing.rs
index 6d5c02bfca..4bf99aaf44 100644
--- a/tests/in_process/orchestrator_parallel_fanout_routing.rs
+++ b/tests/in_process/orchestrator_parallel_fanout_routing.rs
@@ -80,23 +80,6 @@ fn prompt_does_not_teach_a_retired_subagent_tool() {
}
}
-// `spawn_subagent_description_redirects_fanout_to_parallel` was removed here.
-//
-// It required `spawn_subagent`'s description to redirect fan-out to
-// `spawn_parallel_agents` — a tool #5757 retired. It still passed, because the
-// description still says it, which made it the same orphan as the two above:
-// a test pinning guidance for a tool nothing can call.
-//
-// It is deleted rather than re-anchored because there is no correct name to
-// re-anchor it to. `spawn_subagent` survives in exactly one agent —
-// `trigger_reactor/agent.toml` — and that agent's tool list is
-// `spawn_subagent` alone: no `spawn_parallel_agents`, and no
-// `spawn_subagent` either. So the redirect is dangling for its only
-// caller, and pointing it at the new tool would leave it just as dangling.
-//
-// The underlying defect is in `src/`, not in a test: `spawn_subagent`'s
-// description sends its only caller to a tool that caller does not have.
-// Deciding what it should say instead — give `trigger_reactor` a fan-out
-// affordance, or drop the redirect — is a product call for #5757's author, so
-// it is reported rather than guessed at here. Encoding a guess as an assertion
-// is what left this file asserting against a retired tool in the first place.
+// The former blocking redirect test was retired with
+// `spawn_parallel_agents`. Fan-out now uses several concurrent async
+// `spawn_subagent` calls, which the prompt assertions above pin directly.