mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-10-09 22:43:20 +02:00
The "MCP conformance tests" job fails intermittently on unrelated PRs, always on `tasks-wire-fields`, `tasks-mrtr-input` and `tasks-dispatch-and-envelope`. The cause is in pydocket 0.24.1. When `docket.cancel()` reaches the worker after it has picked up a task but before the task has been claimed, the cancellation ends the task with a `CancelledError`. The worker loop awaits that finished task and treats the error as a request to shut down, so `run_forever()` returns without a log line and the worker never reads another task. The conformance run cancels a 60 second task right after creating it, so on a slow runner it hits this window; every task created afterwards stays in `working` until the scenario's own timeout. pydocket 0.26.0 fixes this (chrisguidry/docket#503), so this raises the floor in `fastmcp_tasks` and updates the lock. A regression test cancels a task while its claim is in flight and then checks that a second task still completes; it times out on 0.24.1 and passes on 0.26.0. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_concurrent_dependencies.py | ||
| test_context_background_task.py | ||
| test_custom_subclass_tasks.py | ||
| test_extension.py | ||
| test_guard_reentrant.py | ||
| test_progress_dependency.py | ||
| test_reenter_shutdown.py | ||
| test_server_tasks_parameter.py | ||
| test_snapshot_encryption.py | ||
| test_snapshot_restore.py | ||
| test_sync_function_task_disabled.py | ||
| test_task_capabilities.py | ||
| test_task_catalog_transforms.py | ||
| test_task_config.py | ||
| test_task_dependencies.py | ||
| test_task_keys.py | ||
| test_task_methods.py | ||
| test_task_middleware.py | ||
| test_task_mount.py | ||
| test_task_protocol.py | ||
| test_task_proxy.py | ||
| test_task_return_types.py | ||
| test_task_security.py | ||
| test_task_tools.py | ||
| test_task_ttl.py | ||
| test_wire_models.py | ||
| test_wire_production.py | ||