CR-17: cancellation harness across public operations, including mid-transaction #155

Open
opened 2026-08-27 19:21:18 +02:00 by thecrealm · 0 comments
Owner

Review finding 2026-08-27 (D1). Cancellation is tested only where nothing was written (cr17_cancellationNeverAdvancesCursor cancels a suspended poll); no other public operation is cancelled.

Acceptance (CR-17, §8): cancellation injected inside stores.write on in-memory and sqlite; send, loadOlder/pagination, sendAttachment, createRoom, restoreFromBackup cancelled mid-flight, then cursor + fact hashes asserted unchanged and the queue consistent.

Review finding 2026-08-27 (D1). Cancellation is tested only where nothing was written (`cr17_cancellationNeverAdvancesCursor` cancels a suspended poll); no other public operation is cancelled. Acceptance (CR-17, §8): cancellation injected inside `stores.write` on in-memory and sqlite; `send`, `loadOlder`/pagination, `sendAttachment`, `createRoom`, `restoreFromBackup` cancelled mid-flight, then cursor + fact hashes asserted unchanged and the queue consistent.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thecrealm/katrix#155
No description provided.