[SLOP(claude-opus-4-8-high)] feat(ups): table-backed postgres transport with coalesced doorbell - #5335
Conversation
Code Review: Table-Backed Postgres Transport with Coalesced DoorbellThe architectural direction is good. Moving payload delivery out of the 8000-byte NOTIFY envelope and into a table removes the base64 workaround, decouples delivery correctness from whether a NOTIFY arrives, and the leading/trailing-edge debounced doorbell is a sensible way to bound NOTIFY fan-out. A few things are worth addressing before merge, especially the cursor-based polling scheme. Correction to a prior review pass on this PRAn earlier automated pass on this PR flagged Bug: subscriber cursor can permanently skip messages under concurrent publishes to the same subject
Concretely: transaction A inserts a broadcast row for subject X and gets id=100, then in the same transaction queries This undermines the "no subscribe/publish race" claim in the comments at Durability regression:
|
…rt with coalesced doorbell
1915ab8 to
2534d5c
Compare
No description provided.