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): assert legacy flow record after boot
Steven Enamakel080eb393aa76
diff --git a/tests/storage_legacy_profile_boot_e2e.rs b/tests/storage_legacy_profile_boot_e2e.rsindex d0ec942bd2..06f2f75b63 100644--- a/tests/storage_legacy_profile_boot_e2e.rs+++ b/tests/storage_legacy_profile_boot_e2e.rs@@ -132,10 +132,6 @@ fn desktop_boot_reads_a_preserved_existing_v1_profile_database() {threads.to_string().contains("fixture-thread"),"thread owner did not read its historical profile record: {threads}");- assert!(- flows.to_string().contains("fixture-flow"),- "flow owner did not read its historical profile record: {flows}"- );assert!(profile.join("storage.db").is_file(),@@ -202,6 +198,13 @@ fn desktop_boot_reads_a_preserved_existing_v1_profile_database() {"approval owner did not read the v1 database record");assert_eq!(approvals[0].request_id, "fixture-approval");+ let flows = openhuman_core::flows::ops::flows_list(&config)+ .await+ .unwrap();+ assert!(+ serde_json::to_string(&flows.value).unwrap().contains("fixture-flow"),+ "flow owner did not read the v1 database record: {flows:?}"+ );},).await;