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(download): add error handling, backpressure, and flush-wait
- Register writer.on('error') to catch disk-full/permission errors
- Check writer.write() return value and await drain for backpressure
- Await writer finish event before returning to prevent truncated files
- Clean up partial files on failure
- Use CLIError instead of plain Error
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments