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(mcp_registry_e2e): assert auth hint and hidden error on 401
Steven Enamakel94d387662c24
diff --git a/tests/mcp_registry_e2e.rs b/tests/mcp_registry_e2e.rsindex 1886819b07..46dbe70949 100644--- a/tests/mcp_registry_e2e.rs+++ b/tests/mcp_registry_e2e.rs@@ -159,6 +159,15 @@ async fn per_config_auth_failure_does_not_leak_across_workspaces() {.is_err(),"the module must report a 401 as a failed connection");+ assert_eq!(+ connections::auth_hint_for_config(&config_a, &server_id).await,+ Some("credential_required")+ );+ assert_eq!(+ connections::last_error_for_config(&config_a, &server_id).await,+ None,+ "401 response text stays hidden; the typed auth hint carries the user-facing reason"+ );assert!(connections::auth_hint_for_config(&config_b, &server_id).await.is_none());