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
test: add coverage for workflow lifecycle, task import, approval and storage rebind
Steven Enamakel2080efa14a99
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 4796decf67..deef9b8fca 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@@ -1,6 +1,6 @@use super::*;use serde_json::json;-use tinyagents_session::run_ledger::upsert_workflow_run;+use crate::agent::session_store::ledger_sync::upsert_workflow_run;#[tokio::test]async fn stop_fences_the_driver_and_makes_a_running_phase_resumable() {diff --git a/crates/openhuman-core/src/integrations/task_sources/store_import_tests.rs b/crates/openhuman-core/src/integrations/task_sources/store_import_tests.rsindex ea5662a6c2..60d048da41 100644--- a/crates/openhuman-core/src/integrations/task_sources/store_import_tests.rs+++ b/crates/openhuman-core/src/integrations/task_sources/store_import_tests.rs@@ -3,6 +3,7 @@ use crate::integrations::composio::contract::NormalizedTask;use crate::integrations::task_sources::store as live;use crate::integrations::task_sources::types::{FilterSpec, ProviderSlug, SourceTarget};use crate::storage::import::{run_with, Outcome};+use crate::storage::rusqlite::params;use serde_json::json;use tempfile::TempDir;diff --git a/crates/openhuman-core/src/security/approval/store_import_tests.rs b/crates/openhuman-core/src/security/approval/store_import_tests.rsindex 0de966c46b..4787f418ab 100644--- a/crates/openhuman-core/src/security/approval/store_import_tests.rs+++ b/crates/openhuman-core/src/security/approval/store_import_tests.rs@@ -3,6 +3,7 @@ use crate::security::approval::store as live;use crate::security::approval::types::{ApprovalDecision, ApprovalSourceContext};use crate::storage::import::{run_with, Outcome};use crate::storage::DocumentStore;+use crate::storage::rusqlite;use chrono::{Duration, Utc};use tempfile::TempDir;diff --git a/crates/openhuman-core/src/storage/rebind_tests.rs b/crates/openhuman-core/src/storage/rebind_tests.rsindex d7dfa2b849..0c6dc80188 100644--- a/crates/openhuman-core/src/storage/rebind_tests.rs+++ b/crates/openhuman-core/src/storage/rebind_tests.rs@@ -1,4 +1,5 @@use super::*;+use crate::storage::{CollectionSpec, DocumentStoreExt, Precondition, Scope};use crate::storage::import::Outcome;use std::sync::Mutex;use tempfile::TempDir;