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(config): cover path segment redaction in route debug output
Steven Enamakel42522ce2c5ea
diff --git a/crates/openhuman-core/src/config/schema/ephemeral_route_tests.rs b/crates/openhuman-core/src/config/schema/ephemeral_route_tests.rsindex 9cf9eb5f98..9902935f1d 100644--- a/crates/openhuman-core/src/config/schema/ephemeral_route_tests.rs+++ b/crates/openhuman-core/src/config/schema/ephemeral_route_tests.rs@@ -185,7 +185,7 @@ fn the_route_cannot_be_serialized_into_a_config_file() {#[test]fn debug_never_discloses_route_bearer_or_header_values() {let route = EphemeralRoute {- endpoint: "https://route-user:[email protected]/v1?key=route-query-secret#route-fragment-secret".into(),+ endpoint: "https://route-user:[email protected]/route-path-secret/v1?key=route-query-secret#route-fragment-secret".into(),api_key: "u2-unique-route-secret".into(),headers: vec![("x-private".into(), "u2-unique-header-secret".into())],};@@ -194,6 +194,7 @@ fn debug_never_discloses_route_bearer_or_header_values() {assert!(!debug.contains("u2-unique-header-secret"));assert!(!debug.contains("route-user"));assert!(!debug.contains("route-password"));+ assert!(!debug.contains("route-path-secret"));assert!(!debug.contains("route-query-secret"));assert!(!debug.contains("route-fragment-secret"));}