mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-24 05:45:11 +00:00
* test(mcp): move the MCP OAuth happy path from a live Linear e2e to an integration test GitHub Actions now runs unit tests only, and the MCP OAuth happy path needed a captured Linear browser login to click through a real consent page. The OAuth flows it exercised are already integration tests against an owned authorization-server double, except one behavior: the stored per-user token must be served by a proxy process that never saw the consent, with no shared Redis to fall back on. That case is now in test_mcp_oauth_flows.py The e2e test, its owned-gateway helper, its workflow, the mcp_oauth_live marker and the JUnit gate script only that workflow used are removed * test(mcp): chat completions run an OAuth server tool with the caller's own stored token * test(e2e): drop the Linear chat-completion MCP OAuth e2e and its helpers The behavior it checked, a chat completion running an OAuth server's tool with the caller's stored per-user token, is now an integration test in test_mcp_llm_endpoints.py that needs no saved Linear browser login * test(mcp): decode the stored per-user credential as urlsafe base64 The plaintext check used b64decode, which drops the - and _ of a urlsafe value and raised on roughly one ciphertext in five * test(mcp): drop the chat OAuth integration test that duplicates test_mcp_slots F2-chat security/test_mcp_slots.py already sends a per-user OAuth token through /v1/chat/completions and asserts the peer receives it. Every mutant the new test killed was also killed by the existing suite, so it added no signal |
||
|---|---|---|
| .. | ||
| _config_mcp_e2e.yaml | ||
| _math_server.py | ||
| test_interactions.py | ||
| test_mcp_access_matrix.py | ||
| test_mcp_accounting_guardrails.py | ||
| test_mcp_agent_365_guardrail.py | ||
| test_mcp_akto_logging_only.py | ||
| test_mcp_credentials.py | ||
| test_mcp_lifecycle.py | ||
| test_mcp_listed_tool_metadata.py | ||
| test_mcp_llm_endpoints.py | ||
| test_mcp_management.py | ||
| test_mcp_oauth_flows.py | ||
| test_mcp_protocol_errors.py | ||
| test_mcp_rate_limits.py | ||
| test_mcp_resilience.py | ||
| test_mcp_submission_rules.py | ||
| test_mcp_tool_permission_merge.py | ||
| test_mcp_toolsets.py | ||
| test_mcp_transports.py | ||
| test_mcp_user_env_vars.py | ||
| test_oauth_configuration.py | ||
| test_pagination.py | ||
| test_proxy_mcp_e2e.py | ||
| test_responses_mcp_mixed_tools.py | ||