fastmcp/tests/tasks/server
Jeremiah Lowin a194acdc5f
Resolve mounted server and headers correctly in remote task workers
Two remote-worker fixes. A separate worker process cannot reach the submitting
process's server map, so a mounted task's ctx.fastmcp/CurrentFastMCP() fell back
to the root; the worker now re-resolves the owning child from the root using the
snapshotted tool name. And restoring headers no longer fabricates a live Request
— get_http_headers() reads a dedicated task-headers context var while
get_http_request()/CurrentRequest() correctly keep raising inside a task.
2026-07-23 18:19:35 -04:00
..
__init__.py Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core 2026-07-21 21:51:45 -04:00
conftest.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_concurrent_dependencies.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00
test_context_background_task.py Close SEP-2663 compliance gaps: -32003 on task methods, raised-error semantics, update race 2026-07-22 16:59:13 -04:00
test_custom_subclass_tasks.py Mask raised task errors regardless of ctx param 2026-07-23 07:59:54 -04:00
test_extension.py Mask raised task errors regardless of ctx param 2026-07-23 07:59:54 -04:00
test_guard_reentrant.py Make tasks/cancel actually cancel input_required tasks 2026-07-23 08:15:21 -04:00
test_progress_dependency.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00
test_reenter_shutdown.py Rebuild guard tasks as end-and-reenter; remove imperative in-task elicit 2026-07-22 12:38:46 -04:00
test_server_tasks_parameter.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00
test_snapshot_restore.py Resolve mounted server and headers correctly in remote task workers 2026-07-23 18:19:35 -04:00
test_sync_function_task_disabled.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_task_capabilities.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_task_config.py Bound task drive by one deadline; version-aware tasking; serialize cancel 2026-07-23 16:53:08 -04:00
test_task_dependencies.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00
test_task_keys.py Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core 2026-07-21 21:51:45 -04:00
test_task_methods.py Close SEP-2663 compliance gaps: -32003 on task methods, raised-error semantics, update race 2026-07-22 16:59:13 -04:00
test_task_mount.py Resolve mounted server and headers correctly in remote task workers 2026-07-23 18:19:35 -04:00
test_task_protocol.py Close SEP-2663 compliance gaps: -32003 on task methods, raised-error semantics, update race 2026-07-22 16:59:13 -04:00
test_task_proxy.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_task_return_types.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_task_security.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00
test_task_tools.py Fix ty diagnostics in task tests, scope ty exclusion to client-task files 2026-07-21 23:10:00 -04:00
test_task_ttl.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_wire_models.py Add server-side claim production for tasks; emit resultType discriminator 2026-07-22 08:03:32 -04:00
test_wire_production.py Rebuild guard tasks as end-and-reenter; remove imperative in-task elicit 2026-07-22 12:38:46 -04:00