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(rpc): cover saas gateway request handling
Steven Enamakel7ff181634d6d
diff --git a/crates/openhuman-rpc/src/server/saas_gateway_tests.rs b/crates/openhuman-rpc/src/server/saas_gateway_tests.rsnew file mode 100644index 0000000000..d5e2e2e751--- /dev/null+++ b/crates/openhuman-rpc/src/server/saas_gateway_tests.rs@@ -0,0 +1,25 @@+use super::*;++#[test]+fn single_user_surfaces_are_closed() {+ for path in [+ "/v1",+ "/v1/chat/completions",+ "/events",+ "/events/domain",+ "/events/webhooks",+ "/ws/dictation",+ "/socket.io/",+ "/dev/connect",+ "/oauth/mcp/callback",+ ] {+ assert!(is_closed_in_saas(path), "{path}");+ }+}++#[test]+fn the_gateway_surfaces_stay_open() {+ for path in ["/", "/health", "/schema", "/rpc", "/v1x", "/eventsource"] {+ assert!(!is_closed_in_saas(path), "{path}");+ }+}