Skip to content

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

test(storage): drop debug row dump from legacy profile boot test

Steven Enamakelfb990187bc9f
diff --git a/tests/storage_legacy_profile_boot_e2e.rs b/tests/storage_legacy_profile_boot_e2e.rs
index ea1fefbd75..0e62958e1f 100644
--- a/tests/storage_legacy_profile_boot_e2e.rs
+++ b/tests/storage_legacy_profile_boot_e2e.rs
@@ -5,7 +5,6 @@ use std::path::{Path, PathBuf};
use std::process::{Child, Command, Stdio};
use std::time::{Duration, Instant};
-use openhuman_core::storage::DocumentStoreExt as _;
use serde_json::{Value, json};
use tinystoragedrivers::secrets::DerivedKeys;
use zeroize::Zeroizing;
@@ -174,27 +173,6 @@ fn desktop_boot_reads_a_preserved_existing_v1_profile_database() {
async move { openhuman_core::storage::open(&archive_url).await },
)
.expect("archived historical database must remain readable");
- let inspect_url = format!("sqlite:{}", profile.join("storage.db").display());
- let inspect_backend = openhuman_core::storage::block_on(async move {
- openhuman_core::storage::open(&inspect_url).await
- })
- .unwrap();
- let local_scope = openhuman_core::storage::Scope::local();
- for collection in [
- "approvals",
- "approvals.requests",
- "flows_definitions",
- "flows.definitions",
- ] {
- let scoped = inspect_backend.for_scope(&local_scope).unwrap();
- let rows = openhuman_core::storage::block_on(async move {
- scoped
- .documents()
- .query_all(collection, &tinystoragedrivers::Query::all())
- .await
- });
- eprintln!("target {collection} rows: {rows:?}");
- }
// The profile's V2 workspace resolves its default backend to the exact
// storage.db that desktop boot just opened.
let workspace = profile.join("files");