diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-31 16:26:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-31 16:26:49 +0900 |
| commit | 29aed156d0ec252c3ce49c5c68183aaa6d45a531 (patch) | |
| tree | d1337cf67a0ac7f4d654a7d3eb780f999eddacf9 /docs | |
| parent | 26b6408c84bfcc46f3d470292688e4ffaf0265f2 (diff) | |
| download | kioku-29aed156d0ec252c3ce49c5c68183aaa6d45a531.tar.gz kioku-29aed156d0ec252c3ce49c5c68183aaa6d45a531.tar.zst kioku-29aed156d0ec252c3ce49c5c68183aaa6d45a531.zip | |
test(crdt): add integration tests for concurrent edit scenarios
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 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/dev/roadmap.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
