Skip to content

fix(usb): resolve USB download failures and add progress feedback#26

Open
meelyn-pandit wants to merge 1 commit intolts_24-06.isofrom
update-usb-download
Open

fix(usb): resolve USB download failures and add progress feedback#26
meelyn-pandit wants to merge 1 commit intolts_24-06.isofrom
update-usb-download

Conversation

@meelyn-pandit
Copy link
Copy Markdown
Contributor

  • Reduce ncp copy concurrency from 16 to 2 to prevent I/O saturation on Raspberry Pi, which was starving the Express server and causing ECONNRESET errors for other services
  • Add 10-minute fetch timeout to LCD download task to match server-side
  • Add LCD progress bar showing file count and percentage during transfer
  • Add auto-retry (up to 3 attempts) on download failure with user feedback on the LCD screen
  • Add lazy unmount fallback (umount -l) when target is busy from an in-progress copy
  • Guard mount and data copy routes against duplicate concurrent requests
  • Add copy progress endpoint (GET /usb/data/progress) for real-time monitoring
  • Add elapsed time logging for copy start, completion, and failure

- Reduce ncp copy concurrency from 16 to 2 to prevent I/O saturation
  on Raspberry Pi, which was starving the Express server and causing
  ECONNRESET errors for other services
- Add 10-minute fetch timeout to LCD download task to match server-side
- Add LCD progress bar showing file count and percentage during transfer
- Add auto-retry (up to 3 attempts) on download failure with user
  feedback on the LCD screen
- Add lazy unmount fallback (umount -l) when target is busy from an
  in-progress copy
- Guard mount and data copy routes against duplicate concurrent requests
- Add copy progress endpoint (GET /usb/data/progress) for real-time
  monitoring
- Add elapsed time logging for copy start, completion, and failure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@meelyn-pandit meelyn-pandit requested a review from bobfogg April 2, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant