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
{{ message }}
Repository navigation
pi: write the error log without blocking the event loop #90
The pi integration's default onError is writeErrorLog, which runs statSync, a possible renameSync, and appendFileSync on pi's thread before it returns. A slow agent directory, such as a network mount set through PI_CODING_AGENT_DIR, holds up pi's event loop and TUI for as long as each write takes.
right now:
each onError call does the stat, rotation, and append synchronously; errors are caught, but the wait is not
Activity