Files
piik/prototype
T
AAA 144af25d04 refactor(native): serialize each room independently of the connection
Keep each HostedRoom and file lock in one FIFO task, sharing bounded blocking execution and reusing existing byte and local-request admission. Session owns registration results and the wire; management and directory work no longer wait for an unrelated room. Binding, restore cancellation and same-room retirement stay ordered at the resource owner.

A real WebSocket control proves B can commit while A is blocked in SQLite. Shutdown retains its first error, drains all producers and joins before returning, even after cancellation. This follows the spawn_blocking and channel lifetimes documented by Tokio: https://docs.rs/tokio/latest/tokio/task/fn.spawn_blocking.html and https://docs.rs/tokio/latest/tokio/sync/mpsc/struct.UnboundedReceiver.html.

The final Windows release candidate passed 209 Native library checks and 37 capture Session checks. A retained regression runs without the warehouse SQLite hook and proves sibling cleanup after an error and canceled release. Integrated Server library checks pass all 122 cases. Other OS runtime acceptance remains in the existing platform ledger; no wire format, migration or new room deadline is introduced.
144af25d04 · 2026-11-26 04:49:36 -05:00
History
..