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): report import errors in legacy idempotency test
Steven Enamakel64792156a72a
diff --git a/crates/openhuman-core/src/storage/layout/legacy_tests.rs b/crates/openhuman-core/src/storage/layout/legacy_tests.rsindex 11ebdeeabd..e4bdcb8a30 100644--- a/crates/openhuman-core/src/storage/layout/legacy_tests.rs+++ b/crates/openhuman-core/src/storage/layout/legacy_tests.rs@@ -27,10 +27,14 @@ async fn the_import_brings_legacy_files_into_the_v1_database() {#[tokio::test(flavor = "multi_thread")]async fn importing_twice_changes_nothing() {let fx = v1_profile();- import(&fx.target, &fx.config).await.unwrap();+ import(&fx.target, &fx.config)+ .await+ .unwrap_or_else(|error| panic!("first legacy import failed: {error:#?}"));migrate(&fx.target).await.unwrap();let first = super::super::db::table_counts(&v1_db(&fx.target)).unwrap();- import(&fx.target, &fx.config).await.unwrap();+ import(&fx.target, &fx.config)+ .await+ .unwrap_or_else(|error| panic!("second legacy import failed: {error:#?}"));migrate(&fx.target).await.unwrap();assert_eq!(super::super::db::table_counts(&v1_db(&fx.target)).unwrap(),