Files
buzz/crates
Logan Johnson b1e8d4620d fix(relay): spare a pending replacement when its old holder is evicted
The lifecycle map now records whether the newest admitted request for an
ID has claimed it. A channel-access eviction that removes an old holder
while a newer same-ID request is still pending retires only the holder:
the client already replaced it, so the relay keeps the pending request's
token and sends no CLOSED for the ID.

Tests: a revoke of a replaced holder keeps the pending replacement; the
pubsub subscriber recovers a dropped subscribe hint on a live Redis link;
the bridge search test waits for the claim itself, not for admission.

Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Logan Johnson <loganj@squareup.com>
2026-11-06 15:19:50 -05:00
..