_resolve_library_components does minutes of synchronous filesystem work for a big library (FastLED: BFS over every header + copying thousands of files) directly inside async compile(), starving the event loop: the /api/compile/start response never flushed and clients timed out at 30s while the build itself was healthy. Run it via asyncio.to_thread like the cmake and ninja steps already do. |
||
|---|---|---|
| .. | ||
| api | ||
| core | ||
| database | ||
| mcp | ||
| models | ||
| schemas | ||
| services | ||
| utils | ||
| __init__.py | ||
| main.py | ||