Skip to content

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

test: use canonical macOS storage workspace

Steven Enamakel85ba7dceb398
diff --git a/crates/openhuman-rpc/src/host/secret_storage_tests.rs b/crates/openhuman-rpc/src/host/secret_storage_tests.rs
index ea49daf81d..2f9d96dca1 100644
--- a/crates/openhuman-rpc/src/host/secret_storage_tests.rs
+++ b/crates/openhuman-rpc/src/host/secret_storage_tests.rs
@@ -27,6 +27,9 @@ fn product_hosts_persist_secrets_in_the_workspace_registered_after_preflight() {
assert!(!dir.join("dev-keychain.json").exists());
return;
}
+ #[cfg(target_os = "macos")]
+ let dir = tempfile::tempdir_in("/private/tmp").unwrap();
+ #[cfg(not(target_os = "macos"))]
let dir = tempfile::tempdir().unwrap();
for stage in ["write", "read"] {
let result = std::process::Command::new(std::env::current_exe().unwrap())