I have a scenario on web where a failure occurs - specifically with web using LocalStorage.inMemory()
Reproduce:
- Add an item to the queue
- Fail the upload (for example offline)
- Refresh the page.
The data will be gone from the local storage, no more attempts are made to upload, but the attachment still exists (and any relations added in watchAttachments).
What I expect
I think there needs to be some way to detect these failures reliably so that you can delete any associated entries.