Skip to content

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

test(storage): assert legacy v1 thread is listed on boot

Steven Enamakel1466d57c0608
diff --git a/tests/storage_legacy_profile_boot_e2e.rs b/tests/storage_legacy_profile_boot_e2e.rs
index f8b0411655..13dc803f9e 100644
--- a/tests/storage_legacy_profile_boot_e2e.rs
+++ b/tests/storage_legacy_profile_boot_e2e.rs
@@ -211,6 +211,12 @@ fn desktop_boot_reads_a_preserved_existing_v1_profile_database() {
dispatch,
owner_workspace,
);
+ let listed = thread_store.list_threads().unwrap();
+ assert_eq!(
+ listed.len(),
+ 1,
+ "thread owner did not read the v1 database thread: {listed:?}"
+ );
assert_eq!(
thread_store
.transcript_key("fixture-thread")