Receive recent feed: store entries as atomic records #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
The owner recent-receives feed is stored as a capped JSON array under
recentReceives:<ownerEmail>. This follow-up tracks moving feed entries to per-reservation records so concurrent finalizations cannot overwrite each other across Worker isolates.Source: Deferred from receive links fix pass after PR multi-agent code review
File:
worker.js:3041Branch:
feature/receive-links-foundationFailure mode
appendRecentReceivereads the current JSON array, mutates it, and writes it back under an in-process lock.Why deferred from receive links fix pass
Proposed work
recentReceive:<ownerEmail>:<createdSort>:<reservationId>or an equivalent sortable schema.recentReceives:<ownerEmail>arrays.Acceptance
References
feature/receive-links-foundationreceive-links review fix pass.docs/DATA_MODEL.md:153docs/LOGIC.md:178