fastmcp/tests
marvin-context-protocol[bot] 2954b69274 Fix stdio transport race condition in concurrent connections
- Fix race condition in StdioTransport.connect() where concurrent calls would fail
- Previously, if connect() was called while another connection was in progress,
  it would return None immediately instead of waiting for completion
- Now concurrent calls wait for the existing connection to complete
- Add comprehensive test for concurrent stdio transport connections
- Resolves issue where parallel calls resulted in 'Received request before
  initialization was complete' errors

Fixes #1625

Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
2025-08-25 17:33:12 +00:00
..
cli Consolidate server loading logic into FileSystemSource (#1614) 2025-08-24 20:50:25 -04:00
client Fix stdio transport race condition in concurrent connections 2025-08-25 17:33:12 +00:00
contrib Add comprehensive OAuth 2.1 authentication system with WorkOS integration (#1327) 2025-08-01 17:06:55 -04:00
deprecated feat: introduce fastmcp.json configuration system (#1517) 2025-08-19 16:06:04 -04:00
experimental Fallback to a Completions API when Sampling is not available (#1145) 2025-08-21 07:49:29 -04:00
integration_tests Add WorkOS and Azure OAuth providers (#1550) 2025-08-20 16:22:03 -04:00
prompts Add meta parameter support to tools, resources, templates, and prompts decorators (#1294) 2025-07-29 17:16:05 -04:00
resources Ensure resource + template names are properly prefixed when importing/mounting (#1423) 2025-08-08 21:29:07 -04:00
server Remove client info modifications (#1620) 2025-08-25 09:50:59 -04:00
tools PR Clean-up 2025-08-25 10:18:39 -05:00
utilities feat: introduce inline snapshots (#1605) 2025-08-25 10:08:55 -04:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py feat: introduce inline snapshots (#1605) 2025-08-25 10:08:55 -04:00
test_examples.py Fix single-element list unwrapping in tool content 2025-07-07 12:07:16 -04:00
test_mcp_config.py Skip flaky windows test (#1596) 2025-08-23 09:43:01 -04:00