This issue has been tracked down and is related to a change of behaviour in Roam and the Readwise integration.
It has been reported to the Roam Team. In essence (as I vaguely understand it), the Readwise integration deletes a child block that it creates as part of it’s normal behaviour when bringing in highlights. But since 25 Oct, a bug in Roam causes the actual parent block to be deleted as well. This occurs in the Daily Notes page which is why you lost data on those days.
The Readwise team, who were unaware of this new unexpected behaviour, have acknowledged that their code was responsible for the data loss but also that it resulted from an unreported (and unexpected) bug in Roam.
The Readwise team have since reported that a fix has made to their Readwise integration and their Roam integration is safe to use again. But I believe the bug in Roam is still being addressed.
Details of the bug report submitted are provided below:
#590 Block deletion results in deletion of the parent block
Describe the bug This was discovered by users losing data via Readwise’s sync and Tristan at Readwise for debugging. Deleting a child block used to delete that block specifically, but as of the ~25th now deletes the parent block. This caused the Readwise sync (which deleted a single block previously) to delete daily pages as it needs to delete a block that it creates as part of its regular cleanup process when bringing in highlights. .https://slack-files.com/TNEAEL9QW-F01DZMV6SG1-933183d846 To Reproduce Steps to reproduce the behavior:1. Create a page, call it “parent”
2. Create a block under it. You can even create a grandchild block
3. Focus on either block
4. Delete the block via the top menu, and the modal will prompt to delete the entire page.
I didn’t experience the problem myself (as I did no readwise imports in that period) but the Roam bug is still extant currently as I have been able to reproduce the behaviour as per the bug report above.
There is chatter on various other Roam forums about how to ‘recover’ data but they are all ‘over my head’.
Sorry you lost data. Until this bug is fixed be careful when deleting child blocks as described above.
P.s. here is communications from Tristan Homsi (Readwise) for info:
[Tristan Homsi] 11 hours ago
it’s safe to sync again now, yes