FA-76219 / Chat ordering and read receipts / Member archive
Batch outgoing read receipts per conversation: background defer · case 04
Receipts are sent while the app is in the background, exposing activity the user has not seen.
Case contract
pending_reads are [conv, seq] events produced while scrolling, in any order. Per conversation only the highest seq is sent, and only if it is above the marker already sent (missing marker means nothing sent, -1). In the background nothing is sent: the eligible conversations are deferred. Result {send: [[conv, seq]...] sorted by conv, defer: [conv...]}.
Why this case matters
Receipt batching limits traffic; batching errors send stale receipts or none at all.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| background defers | {"defer": [], "send": [["a", 3]]} | {"defer": ["a"], "send": []} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗