metronome/pico-cp/__pycache__/app.cpython-312.pyc
Me Here f637a65abd Push reliability: 10s ACK timeout + per-chunk flush + periodic GC
Push to 0.0.14 stalls at ~150 chunks with the MIDI badge going gray (=device silent for
>1s). It's an occasional slow flash flush on the device side — the file buffer fills,
flush takes several seconds, the editor's 4s timeout cuts it off too early.

- Editor: bump per-chunk ACK timeout 4s -> 10s; progress log every 25 chunks now with
  elapsed seconds so you can see it advancing through a slow chunk.
- Device 0.0.14: flush per chunk (small, predictable per-chunk cost instead of
  infrequent multi-second bursts) + gc.collect() every 50 chunks to keep the heap
  fresh during a long push.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-30 07:28:12 -05:00

92 KiB