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): print migration error before panicking
Steven Enamakel07a63428ca13
diff --git a/crates/openhuman-core/src/storage/layout/run_tests.rs b/crates/openhuman-core/src/storage/layout/run_tests.rsindex 032b4995ae..a88f0db2e7 100644--- a/crates/openhuman-core/src/storage/layout/run_tests.rs+++ b/crates/openhuman-core/src/storage/layout/run_tests.rs@@ -13,7 +13,10 @@ async fn go(fx: &Fixture, options: &Options) -> Result<Outcome, LayoutError> {async fn migrated(fx: &Fixture) -> Box<Report> {match go(fx, &opts()).await- .unwrap_or_else(|error| panic!("layout migration failed: {error:#}"))+ .unwrap_or_else(|error| {+ eprintln!("layout migration failed: {error:#}");+ panic!("layout migration did not complete")+ }){Outcome::Migrated(report) => report,other => panic!("expected a migration, got {other:?}"),