fastmcp/tests/server/tasks
Chris Guidry 34112a17df Bump pydocket to 0.16.3 to fix worker cleanup race condition
pydocket 0.16.3 fixes a race condition in `_worker_loop` where cancellation
arriving between `_worker_done.clear()` and the try block would cause
`_worker_done.set()` to never run, blocking `Worker.__aexit__` forever.

Also fixes:
- Simplified `_docket_lifespan` cleanup (timeout wrapper no longer needed)
- Fixed `nested_server` test fixture to use graceful uvicorn shutdown
- Fixed uv transport tests to use local fastmcp in dev mode

Closes #2679

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 18:45:42 -05:00
..
__init__.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
conftest.py Remove enable_tasks setting, enable task protocol by default 2025-12-09 09:34:42 -05:00
test_progress_dependency.py Remove enable_docket setting; Docket is now always on 2025-12-05 11:40:04 -05:00
test_server_tasks_parameter.py Fix task execution for tools with custom names (#2645) 2025-12-23 18:05:29 -05:00
test_sync_function_task_disabled.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_capabilities.py Centralize task capabilities, add component filtering 2025-12-09 10:02:38 -05:00
test_task_config_modes.py Remove TaskConfig and client from root exports (#2580) 2025-12-09 12:28:01 -05:00
test_task_dependencies.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_metadata.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_methods.py Bump pydocket to 0.16.3 to fix worker cleanup race condition 2025-12-23 18:45:42 -05:00
test_task_mount.py Remove TaskConfig and client from root exports (#2580) 2025-12-09 12:28:01 -05:00
test_task_prompts.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_protocol.py Remove enable_tasks setting, enable task protocol by default 2025-12-09 09:34:42 -05:00
test_task_proxy.py Proxy tasks forbidden, mount tasks working 2025-12-08 11:44:28 -05:00
test_task_resources.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_return_types.py [SEP-1686] Raise ValueError when sync functions have task=True (#2554) 2025-12-05 11:31:28 -05:00
test_task_security.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_status_notifications.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00
test_task_tools.py Add TaskConfig for SEP-1686 execution modes 2025-12-06 21:01:11 -05:00
test_task_ttl.py [2.14] SEP-1686 tasks (#2378) 2025-12-04 20:10:35 -05:00