mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core
Engine modules (keys, context snapshot, docket lifespan, worker CLI, client handles) move intact; SEP-1686 wire modules park in _legacy_wire for adaptation to SEP-2663. Core keeps task=True declaration on tools only and raises at serve time until the tasks extension is registered. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
242850c0f3
commit
6fce4e538f
119 changed files with 1191 additions and 3331 deletions
|
|
@ -1,10 +1,14 @@
|
|||
"""Tests for the fastmcp tasks CLI."""
|
||||
|
||||
import pytest
|
||||
from fastmcp_tasks.worker_cli import check_distributed_backend, tasks_app
|
||||
|
||||
from fastmcp.cli.tasks import check_distributed_backend, tasks_app
|
||||
from fastmcp.utilities.tests import temporary_settings
|
||||
|
||||
pytestmark = pytest.mark.skip(
|
||||
reason="Phase 3: requires TasksExtension (SEP-2663 adapter)"
|
||||
)
|
||||
|
||||
|
||||
class TestCheckDistributedBackend:
|
||||
"""Test the distributed backend checker function."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue