Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Run static checks with --upgrade, remove lockfile check (#2988)

Jeremiah Lowinb77484e1a7f9
diff --git a/.github/workflows/run-static.yml b/.github/workflows/run-static.yml
index b8e230902..d479930a3 100644
--- a/.github/workflows/run-static.yml
+++ b/.github/workflows/run-static.yml
@@ -38,16 +38,8 @@ jobs:
cache-dependency-glob: "uv.lock"
- name: Install dependencies
- run: uv sync
-
- - name: Check lockfile is up to date
- run: |
- if ! uv lock --check; then
- echo "❌ Lockfile is out of date!"
- echo "To update the lockfile, run 'uv lock'."
- exit 1
- fi
- echo "βœ… Lockfile is up to date"
+ run: uv sync --upgrade
+
- name: Run prek
uses: j178/prek-action@v1
env:
diff --git a/src/fastmcp/server/tasks/subscriptions.py b/src/fastmcp/server/tasks/subscriptions.py
index d73fa6f39..5852c2fb8 100644
--- a/src/fastmcp/server/tasks/subscriptions.py
+++ b/src/fastmcp/server/tasks/subscriptions.py
@@ -62,7 +62,7 @@ async def subscribe_to_task_updates(
task_id=task_id,
task_key=task_key,
docket=docket,
- state=event["state"],
+ state=ExecutionState(event["state"]),
poll_interval_ms=poll_interval_ms,
)
elif event["type"] == "progress":