Files
piik/tests
T
AAA 1b58e6577d fix(core): projection work between inputs keeps the channel's clock
Taking the time of a turn as an argument removed the room host's stored
clock, and with it the one thing that field was: the channel's clock as of
the authority's last input. Route deadlines are set in that clock. A peer
turn does not come through the authority, so finish_peer was given the
writer's own time, and a writer whose clock runs ahead could expire a live
preparation when a deleted message's attachment reconciled the projection.

The room host keeps that clock again, named for what it is, written by
dispatch alone. finish and finish_peer read it and take no time from their
caller, so a caller can no longer supply a different one; the WASM binding,
the stored room host and the tests follow. Channel's entries still take the
turn's time as an argument.
1b58e6577d · 2026-11-29 14:42:14 +08:00
History
..