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
Merge remote-tracking branch 'upstream/main' into storage-7809-host-1
Steven Enamakel38cf79ac552f
diff --cc crates/openhuman-core/src/agent/session_store/workspace_tests.rsindex c5d47cf92e,84e0833f1c..b5bd4334ad--- a/crates/openhuman-core/src/agent/session_store/workspace_tests.rs+++ b/crates/openhuman-core/src/agent/session_store/workspace_tests.rs@@@ -118,28 -118,18 +118,34 @@@ fn releasing_defaults_lets_the_next_callet ws = scratch();let before = fallback_provider(ws.path());let cached = fallback_provider(ws.path());- assert!(Arc::ptr_eq(&before, &cached), "a repeat call reuses the provider");+ assert!(+ Arc::ptr_eq(&before, &cached),+ "a repeat call reuses the provider"+ );- release_workspace_defaults();+ release_workspace(ws.path());let after = fallback_provider(ws.path());- assert!(!Arc::ptr_eq(&before, &after), "release drops the cached provider");+ assert!(+ !Arc::ptr_eq(&before, &after),+ "release drops the cached provider"+ );}+#[test]+fn releasing_one_workspace_keeps_the_others_open() {+ let (mine, other) = (scratch(), scratch());+ let kept = fallback_provider(other.path());+ let released = fallback_provider(mine.path());+ release_workspace(mine.path());+ assert!(+ Arc::ptr_eq(&kept, &fallback_provider(other.path())),+ "another workspace keeps its provider"+ );+ assert!(+ !Arc::ptr_eq(&released, &fallback_provider(mine.path())),+ "the released workspace opens afresh"+ );+}+#[test]fn the_workspace_session_stores_are_a_workspace_default_with_nothing_to_recover() {let stores = WorkspaceSessionStores;