You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dispatcher): restore daemon fast-path for Linux without C dispatcher
On Linux systems where the C dispatcher binary is unavailable (no gcc,
read-only bin/, etc.), the Python dispatcher was silently bypassing the
daemon on every invocation and falling through to a cold os.execv(),
inflating wall time ~3x (~70ms → ~200ms).
Root causes:
- is_correct check hardcoded "Lib/site-packages" (Windows layout) so it
always failed on Linux, triggering a stale config rewrite every call
- Rewrite block wrote the same wrong path back, making it self-perpetuating
- Linux daemon connect used hardcoded flat sock path instead of reading
daemon_connection.txt (which the daemon uses to publish its hash-subdir
socket path)
- Clean daemon disconnect fell through to os.execv instead of sys.exit(0)
Also: uninstall with no version spec now correctly bypasses daemon in
dispatcher.c so the interactive version picker TUI works; setup.py
compile error output improved; worker stdin reply timeout 5s → 120s.
0 commit comments