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): assert 401 text stays hidden behind typed auth hint
Steven Enamakel194fa700f427
diff --git a/tests/mcp_registry_e2e.rs b/tests/mcp_registry_e2e.rsindex de44057bf9..1658da1c81 100644--- a/tests/mcp_registry_e2e.rs+++ b/tests/mcp_registry_e2e.rs@@ -233,9 +233,11 @@ async fn per_config_auth_failure_surfaces_401_reason_without_cross_workspace_leaconnections::auth_hint_for_config(&config_a, &server_id).await,Some("credential_required"));- assert!(connections::last_error_for_config(&config_a, &server_id)- .await- .is_some_and(|error| !error.trim().is_empty()));+ 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());