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(workflow-runs): annotate commit closure return type
Steven Enamakeldde6431bd848
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rsindex d85a7d2c41..b2cb240da6 100644--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs@@ -183,7 +183,7 @@ fn schedule_workflow_drive(};let revision_slot = Arc::clone(&admission_revision);- let commit = move || {+ let commit = move || -> Result<WorkflowRun> {let run = commit()?;let _ = revision_slot.set(run.revision);Ok(run)diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle_tests.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle_tests.rsindex 9920864392..8ddd06408f 100644--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle_tests.rs@@ -317,5 +317,8 @@ async fn lost_engine_lease_does_not_project_failure_over_the_winning_owner() {.expect("run remains present");assert_eq!(after.status, WorkflowRunStatus::Running);assert_eq!(after.lease_owner.as_deref(), Some("other-process"));- assert_ne!(after.summary.as_deref(), Some("workflow safety admission failed"));+ assert_ne!(+ after.summary.as_deref(),+ Some("workflow safety admission failed")+ );}