Skip to content

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

style: fix indentation in background tenant tests

Steven Enamakelfa3c7b33a106
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/background_completions_tenant_tests.rs
index 62564d3a02..b6f6986a4e 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions_tenant_tests.rs
@@ -23,14 +23,15 @@ fn profile(name: &str, workspace: &std::path::Path) -> Arc<CoreContext> {
async fn record(ctx: &Arc<CoreContext>, ws: &std::path::Path, task: &str) {
record_completion(
- &DispatchCtx::new(Arc::clone(ctx)),
- ws,
- "sess-1",
- task,
- "researcher",
- "done",
- Some("t1".into()),
- ).await;
+ &DispatchCtx::new(Arc::clone(ctx)),
+ ws,
+ "sess-1",
+ task,
+ "researcher",
+ "done",
+ Some("t1".into()),
+ )
+ .await;
}
fn pending(ws: &std::path::Path) -> Vec<String> {
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery_tenant_tests.rs
index b182a1a45c..c72e47df3c 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery_tenant_tests.rs
@@ -70,14 +70,15 @@ async fn an_off_task_completion_drains_only_its_owners_thread() {
for (ctx, ws, task) in [(&alice, &ws_a, &task_a), (&bob, &ws_b, &task_b)] {
record_completion(
- &DispatchCtx::new(Arc::clone(ctx)),
- ws.path(),
- &session,
- task.as_str(),
- "r",
- "done",
- Some(thread.into()),
- ).await;
+ &DispatchCtx::new(Arc::clone(ctx)),
+ ws.path(),
+ &session,
+ task.as_str(),
+ "r",
+ "done",
+ Some(thread.into()),
+ )
+ .await;
}
let resolve = |p: &str| {
[&alice, &bob]