Files
minstrel/android
bvandeusenandClaude Opus 5.5 9bf831e20e refactor(android): one rule for which failed writes wait in the offline queue (DRY D1)
Six repositories decided for themselves which failed writes to queue:
playlists queued only on no answer, notifications split 4xx from 5xx,
and likes and hidden tracks queued everything, a refusal included, which
the replayer then sent again only to drop it.

They all go through cache/mutations/sendOrQueue now: no answer, a 5xx,
408 or 429 queue the write; any other 4xx is a refusal and is not
queued (playlists still throw it so the screen can say why; the others
log it). Cancellation passes through. isRetryableStatus is the one test
of a retryable status, and the replayer's isPermanent is its complement.
WriteOutcome moves to cache/mutations and gains Refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 10:23:41 -05:00
..