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(json_rpc_threads): import classic transcripts before reading threads
Steven Enamakelb3f95c85253b
diff --git a/tests/json_rpc_threads_e2e.rs b/tests/json_rpc_threads_e2e.rsindex ad4e1a2321..533c600ea1 100644--- a/tests/json_rpc_threads_e2e.rs+++ b/tests/json_rpc_threads_e2e.rs@@ -1064,6 +1064,29 @@ async fn json_rpc_threads_transcript_get_projects_and_paginates() {],);+ // The host imports classic workspace transcripts during runtime boot.+ // This test builds the router directly, so import the seeded records before+ // asking the storage-backed thread API to read them.+ let config = openhuman_core::config::Config::load_or_init()+ .await+ .expect("load test config");+ assert_eq!(config.workspace_dir, workspace);+ openhuman_core::agent_registry::host_definition::AgentDefinitionRegistry::init_global_builtins()+ .expect("initialize built-in agent definitions");+ let backend = openhuman_core::storage::local::backend_for(&config.workspace_dir)+ .expect("open test workspace storage");+ let reports = openhuman_core::storage::import::sessions::run_with(&backend, &config);+ assert!(+ matches!(+ reports.first().map(|report| &report.outcome),+ Some(Ok(openhuman_core::storage::import::Outcome::Imported {+ found: 2,+ written: 2+ }))+ ),+ "import classic session transcripts: {reports:?}"+ );+let (rpc_addr, rpc_join) = serve_on_ephemeral(build_core_http_router(false)).await;let rpc_base = format!("http://{rpc_addr}");