From 29aed156d0ec252c3ce49c5c68183aaa6d45a531 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 16:26:49 +0900 Subject: test(crdt): add integration tests for concurrent edit scenarios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add comprehensive test suite covering multi-device concurrent editing: - Two devices editing different fields (no conflicts) - Two devices editing same field (deterministic resolution) - Concurrent edit and delete scenarios - Card FSRS field concurrent updates - Incremental sync simulation - Three-way merge scenarios - Serialization roundtrip with concurrent edits - Edge cases (null handling, rapid edits) - Offline queue simulation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- docs/dev/roadmap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/dev') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index df4e695..1531b63 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -43,6 +43,6 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD ### Phase 6: Testing and Cleanup -- [ ] Add unit tests for CRDT operations -- [ ] Add integration tests for concurrent edit scenarios +- [x] Add unit tests for CRDT operations +- [x] Add integration tests for concurrent edit scenarios - [ ] Remove legacy LWW code after validation -- cgit v1.2.3-70-g09d2