2 Commits
Author SHA1 Message Date
zhuyongxin 8136301ad4 fix(runtime): async article summary job startup to prevent MCP timeout
Root cause:
- RunStore.save() called 4 times synchronously before returning MCP response
- MCP stdio transport blocked by disk I/O and file locks
- Client timed out (-32001) even though job actually started

Fix:
- Use ThreadPoolExecutor to launch job in background thread
- Main thread returns immediately after creating job directory and input file
- Background thread handles subprocess.Popen and finish_stage persistence

Reference: issues/mcp-timeout-job-running.md
2026-04-16 18:37:13 +08:00
root b29cd8f934 docs: add issue - MCP start_article_summary_job timeout but job actually runs 2026-04-16 11:22:04 +08:00