fastmcp/tests/tasks/server
nate nowack 57fb604cd2
tasks: run tools called from another tool in the foreground (#5275)
* tasks: run tools called from another tool in the foreground

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vUYwD7iJSRQyEmDHtCB7C

* tasks: scope the opt-in to the client's own tools/call

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vUYwD7iJSRQyEmDHtCB7C

* tasks: claim the client's tools/call before middleware runs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vUYwD7iJSRQyEmDHtCB7C

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 12:18:35 -05: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 Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05: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 tasks: run tools called from another tool in the foreground (#5275) 2026-09-25 12:18:35 -05:00
test_guard_reentrant.py Make a contended tasks/update wait instead of dropping its answer 2026-07-26 16:40:33 -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_encryption.py Encrypt task context snapshots at rest (#4772) 2026-08-06 20:01:40 -04:00
test_snapshot_restore.py Clear stale auth in reused workers; bound elicitation; version explicit tasks 2026-07-23 18:25:48 -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_catalog_transforms.py tasks: run tools called from another tool in the foreground (#5275) 2026-09-25 12:18:35 -05:00
test_task_config.py Pass the MCP conformance suite's draft and pending scenarios 2026-07-26 15:00:08 -04:00
test_task_dependencies.py Cover CallArgument resolution in background tasks (#4833) 2026-08-14 13:14:36 -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_middleware.py Pass task-creation results through ToolResult-only middleware 2026-07-23 20:09:47 -04:00
test_task_mount.py Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05: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 Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05:00
test_task_return_types.py Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05: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 Preserve field-level strict validation in lax mode (#5141) 2026-09-17 10:18:56 -07:00
test_task_ttl.py Encrypt task context snapshots at rest (#4772) 2026-08-06 20:01:40 -04:00
test_wire_models.py fix task timing field serialization (#5003) 2026-09-04 19:08:13 -05: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