Skip to content

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

test(orchestration): fix indentation in continuation e2e tests

Steven Enamakel63673bff5343
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
index cdada094e3..0f1389bdfd 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
@@ -27,18 +27,18 @@ async fn continue_subagent_resumes_paused_job_through_shared_driver() {
let live =
crate::agent::orchestration::tools::live_parent_run_context("continue-paused-e2e", parent);
let paused = Box::pin(SpawnSubagentTool::new().execute_with_live_parent_context(
- json!({
- "agent_id": "task_manager_agent",
- "prompt": "Investigate the pause-resume fixture",
- "model": "test-model",
- "blocking": true
- }),
- None,
- live.data.child(),
- Some(&live),
- ))
+ json!({
+ "agent_id": "task_manager_agent",
+ "prompt": "Investigate the pause-resume fixture",
+ "model": "test-model",
+ "blocking": true
+ }),
+ None,
+ live.data.child(),
+ Some(&live),
+ ))
.await
- .expect("initial spawn");
+ .expect("initial spawn");
assert!(!paused.is_error, "{}", paused.output());
assert_eq!(provider.calls.load(std::sync::atomic::Ordering::SeqCst), 1);
let task_id = paused
@@ -62,7 +62,8 @@ async fn continue_subagent_resumes_paused_job_through_shared_driver() {
.expect("initial pause is registered in shared Jobs");
assert_eq!(paused_job.status, SubAgentJobStatus::AwaitingInput);
- let resumed = Box::pin(ContinueSubagentTool::new().execute_with_live_parent_context(
+ let resumed = Box::pin(
+ ContinueSubagentTool::new().execute_with_live_parent_context(
json!({
"task_id": task_id,
"agent_id": "task_manager_agent",
@@ -71,9 +72,10 @@ async fn continue_subagent_resumes_paused_job_through_shared_driver() {
None,
live.data.child(),
Some(&live),
- ))
+ ),
+ )
.await
- .expect("continue");
+ .expect("continue");
assert!(!resumed.is_error, "{}", resumed.output());
assert!(provider.saw("Inspect the README and continue."));
assert_eq!(provider.calls.load(std::sync::atomic::Ordering::SeqCst), 2);