Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(tests): add legacy tests for storage layout

Steven Enamakel0dbddea76e2e
diff --git a/crates/openhuman-core/src/storage/layout/legacy_tests.rs b/crates/openhuman-core/src/storage/layout/legacy_tests.rs
index 4fbb9d005a..c0a9e32b9d 100644
--- a/crates/openhuman-core/src/storage/layout/legacy_tests.rs
+++ b/crates/openhuman-core/src/storage/layout/legacy_tests.rs
@@ -60,7 +60,7 @@ async fn no_workspace_means_nothing_to_import() {
}
fn dbg_docs(p: &std::path::Path) {
- let c = rusqlite::Connection::open(p).unwrap();
+ let c = crate::storage::rusqlite::Connection::open(p).unwrap();
let cols: Vec<String> = c.prepare("PRAGMA table_info(docs)").unwrap().query_map([], |r| r.get::<_, String>(1)).unwrap().map(|x| x.unwrap()).collect();
eprintln!("DBGCOLS {cols:?}");
let col = if cols.iter().any(|x| x == "collection") { "collection" } else { &cols[0] };