The domain now tells a waiting reader when it refused to relay the writer's signed reply: a room_reply error under the room and the original request id, room_busy while the read floor is pending and room_access_required for a confirmed denial. Ordinary requests settle through the session's request table. Room interactions do not use that table. The readiness handshake and reactions belong to RoomInteractionSession, so the handler found no request and dropped the refusal. A refused readiness reply left the room's interactions unready until something else rebuilt them, and a refused reaction waited out its five-second timer. A writer's signed error means the operation was rejected. A refused reply means the outcome is unknown, because the operation may have committed. The session keeps that difference: an undelivered reaction becomes unconfirmed at once and keeps its request id and nonce, so the same reaction retries under that nonce and a committed nonce settles without replaying the effect. settleInteraction is now the one place an interaction request ends without its reply: the signed error record, the refused relay and a failed local send all go through it. A subscription that did not complete closes the owner, and the existing readings sync subscribes a replacement.
00722b7d17
·
2026-11-25 07:50:55 +08:00
History