Skip to content

v1.5.8 — /start can't freeze (session_open watchdog)

Choose a tag to compare

@Yumash Yumash released this 06 Jul 13:28
· 13 commits to main since this release

Reliability release. /start could freeze forever on "Generating…" on large projects.

Fixed

  • tausik_session_open (the /start Phase-1 compound RPC) could hang the whole session. Its 5 sub-calls were wrapped only in try/except, which catches exceptions but not a blocked call — so a sub-op that hangs rather than raises (a DB write contending with sibling MCP servers, a self_check subprocess wedged past its timeout, a pathologically large repo) froze the envelope and the IDE sat on "Generating…" indefinitely. Each sub-call now runs under a daemon-thread watchdog (_section_with_timeout, 6s) that returns {"error":"<section> timed out after 6s"} for the wedged section instead of blocking. /start degrades to a visible, self-diagnosing dashboard and the error names the culprit. Cross-thread DB use is safe (conn check_same_thread=False, busy_timeout=5000). Applied to claude + cursor handlers.