mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-25 15:04:18 +02:00
Most pins in tests/server/providers/proxy/ were added only to keep tests green while unpinning changed which protocol era the proxy's backend connection used, not because the test's subject cared about the era. With proxy era-mirroring (#4573) landed, a front client on auto correctly moves the whole chain to the modern protocol, so plain tool/resource/prompt calls through a proxy no longer need a pin. Kept pins fall into three buckets, each commented at the call site: tests whose subject is genuinely handshake-only (sampling, roots, elicitation push-forwarding, ping, initialize handshake mechanics); tests whose backend is a directly-constructed ProxyClient/StatefulProxyClient, which always defaults to legacy independent of the front era; and two tests left pinned with a TODO documenting a real defect this audit surfaced (upstream instructions not forwarded to a modern-era client through a proxy, and ProxyProvider.list_tools leaking an unwrapped connection error instead of an MCPError). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_proxy_client.py | ||
| test_proxy_server.py | ||
| test_stateful_proxy_client.py | ||