Skip to content

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

refactor(workflow-runs): drop redundant error conversions in drive scheduling

Steven Enamakel9e50c65b32a3
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.rs
index b2cb240da6..fd61cb0392 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
@@ -192,11 +192,9 @@ fn schedule_workflow_drive(
if resume {
supervisor
.resume_scoped_with_commit(run_id, commit, make_future, root_parent, origin, spawn)
- .map_err(Into::into)
} else {
supervisor
.start_scoped_with_commit(run_id, commit, make_future, root_parent, origin, spawn)
- .map_err(Into::into)
}
}