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(storage): update e2e assertions for unified default database
Steven Enamakelf182c7a61ebe
diff --git a/tests/storage_approvals_e2e.rs b/tests/storage_approvals_e2e.rsindex 0289cf3e4a..8416130947 100644--- a/tests/storage_approvals_e2e.rs+++ b/tests/storage_approvals_e2e.rs@@ -53,16 +53,17 @@ fn a_configured_backend_holds_the_approvals_instead_of_approval_db(case: Case) {.join("approval").join("approval.db").exists(),- "nothing was written to the classic database"+ "nothing was written to the legacy database");- // Without a backend the classic database is back in use.+ // Without a backend the workspace's own default database is used, and the+ // configured backend's requests are not in it.assert!(openhuman_core::storage::clear());assert!(store::list_pending(&config).unwrap().is_empty());assert!(workspace.path()- .join("approval")- .join("approval.db")+ .join("storage")+ .join("storage.db").exists());}diff --git a/tests/storage_domains_e2e.rs b/tests/storage_domains_e2e.rsindex eeb0c16a4c..6e4e982bb8 100644--- a/tests/storage_domains_e2e.rs+++ b/tests/storage_domains_e2e.rs@@ -91,12 +91,12 @@ fn a_configured_backend_holds_devices_notifications_and_task_sources(case: Case)assert!(!workspace.path().join(db).exists(), "{db} was not written");}- // Without a backend the classic databases are back in use.+ // Without a backend the workspace's own default database is used.assert!(openhuman_core::storage::clear());assert!(devices::list_devices(&config).unwrap().is_empty());assert_eq!(notifications::unread_count(&config).unwrap(), 0);assert!(task_sources::list_sources(&config).unwrap().is_empty());- assert!(workspace.path().join("devices/devices.db").exists());+ assert!(workspace.path().join("storage/storage.db").exists());}driver_cases!(sync a_configured_backend_holds_devices_notifications_and_task_sources);diff --git a/tests/storage_flows_e2e.rs b/tests/storage_flows_e2e.rsindex 9c70668785..782116cedb 100644--- a/tests/storage_flows_e2e.rs+++ b/tests/storage_flows_e2e.rs@@ -136,7 +136,7 @@ async fn a_configured_backend_holds_cron_flows_and_flow_state(case: Case) {}).await.unwrap();- assert!(workspace.path().join("flows/catalog.db").exists());+ assert!(workspace.path().join("storage/storage.db").exists());// The flow written to the backend is not in the workspace's catalog.assert!(flows::ops::flows_list(&config).await@@ -144,7 +144,6 @@ async fn a_configured_backend_holds_cron_flows_and_flow_state(case: Case) {.value.is_empty());openhuman_core::agent::orchestration::open_delegation_checkpointer(&config).unwrap();- assert!(workspace.path().join("graph_checkpoints.db").exists());}/// The stores tinyflows used to write (`jobs.db`, `flows.db`, `checkpoints.db`,