Commit 02a7bc5
chore: release v2.3.1 (#233)
Hotfix for the Windows long-running-MCP-tool hang that v2.2.4 only
partially fixed.
- #46 / #136 — converted 5 heavy MCP tools to async + asyncio.to_thread
so the stdio event loop stays responsive during full builds,
postprocessing, embeddings, change detection, and wiki generation.
@dev-limucc's v2.2.4 test on #136 showed read-only tools worked but
long-running ones still hung. Root cause: FastMCP 2.x dispatches sync
handlers inline on the only event-loop thread; a 10-second handler
freezes stdin/stdout for 10 seconds. Fix: wrap the work in
asyncio.to_thread so the loop keeps pumping.
Verified locally on Python 3.11 / macOS: ruff clean, mypy clean,
bandit clean, 737 tests (+2 new lock-in tests), coverage 74.63%.
Windows verification post-release — will ping @dev-limucc on #136
once 2.3.1 is live on PyPI.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7093e56 commit 02a7bc5
3 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments