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
chore: format Rust E2E and secret tests
Steven Enamakel16cc6765a092
diff --git a/crates/openhuman-core/src/security/secret_storage/adapter_tests.rs b/crates/openhuman-core/src/security/secret_storage/adapter_tests.rsindex 2428946cc9..d4b85220d5 100644--- a/crates/openhuman-core/src/security/secret_storage/adapter_tests.rs+++ b/crates/openhuman-core/src/security/secret_storage/adapter_tests.rs@@ -154,6 +154,9 @@ fn recovery_does_not_quarantine_a_valid_file_replaced_after_the_probe() {}).unwrap();- assert_eq!(backend.get_with_key(&KEY, "u:a").unwrap().as_deref(), Some("1"));+ assert_eq!(+ backend.get_with_key(&KEY, "u:a").unwrap().as_deref(),+ Some("1")+ );assert!(quarantined(dir.path()).is_empty());}diff --git a/crates/openhuman-core/src/security/secret_storage/file_store.rs b/crates/openhuman-core/src/security/secret_storage/file_store.rsindex a067257da8..ef6ba19377 100644--- a/crates/openhuman-core/src/security/secret_storage/file_store.rs+++ b/crates/openhuman-core/src/security/secret_storage/file_store.rs@@ -84,14 +84,12 @@ pub fn lock_for_write(path: &Path) -> Result<WriteLock, SecretStorageError> {use std::os::unix::fs::OpenOptionsExt;options.mode(0o600).custom_flags(libc::O_NOFOLLOW);}- let file = options- .open(&lock_path)- .map_err(|e| {- SecretStorageError::Backend(format!(- "could not open the keyring lock at {}: {e}",- lock_path.display()- ))- })?;+ let file = options.open(&lock_path).map_err(|e| {+ SecretStorageError::Backend(format!(+ "could not open the keyring lock at {}: {e}",+ lock_path.display()+ ))+ })?;#[cfg(unix)]{use std::os::unix::fs::{MetadataExt, PermissionsExt};diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rsindex d1f9fd44c8..40e8e1da6a 100644--- a/tests/agent_harness_e2e.rs+++ b/tests/agent_harness_e2e.rs@@ -4150,7 +4150,10 @@ async fn orchestrator_calls_a_connected_mcp_tool_directly_inner() {"tool_search",json!({ "query": "echo message on my connected MCP server" }),),- tool_call_completion(SCRIPT_DISCOVERED_MCP_TOOL, json!({ "message": MCP_ECHO_CANARY })),+ tool_call_completion(+ SCRIPT_DISCOVERED_MCP_TOOL,+ json!({ "message": MCP_ECHO_CANARY }),+ ),text_completion("The MCP tool answered."),]);let mut events = spawn_sse_collector(format!(