Skip to content

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

test(storage): follow the v2 key, scope and compression changes in host tests

Steven Enamakel39fc70c8b0d8
diff --git a/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs b/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs
index a6b770a2ab..7c293fd93f 100644
--- a/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs
@@ -69,7 +69,10 @@ async fn a_stored_result_survives_a_session_reload() {
apply_per_result_persistence(raw, None, Some(&first), "shell", Some("call-1"), 1024).await;
assert!(outcome.persisted, "{out}");
let key = outcome.artifact_path.expect("pointer");
- assert!(key.starts_with("harness/tool_results/thread-1/shell/"), "{key}");
+ assert!(
+ key.starts_with("harness/tool_results/thread-1/shell/"),
+ "{key}"
+ );
let reloaded = build_artifact_store(&workspace, "thread-1");
let mut args = json!({"path": key});