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): use current revision when recording failed lifecycle
Steven Enamakelfabe396e58a4
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 b2cb240da6..a9237b3d36 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@@ -41,8 +41,7 @@ fn record_failed_if_current(| WorkflowRunStatus::Failed| WorkflowRunStatus::Cancelled| WorkflowRunStatus::Interrupted- ) || run.revision != expected_revision- {+ ) {return;}let _ = compare_and_swap_workflow_run_lifecycle(@@ -59,7 +58,7 @@ fn record_failed_if_current(started_at: Some(run.started_at),completed_at: Some(chrono::Utc::now()),},- expected_revision,+ run.revision,);}});