Restore: Normalize user CRDT writes to NFD (#2146)#2318
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThis PR refactors MiniLcm API wrapper composition to add write-normalization of user-entered linguistic text to NFD form, rename query-normalization types for clarity, establish a unified wrapper orchestrator, update all service entry points to use it, and add comprehensive test infrastructure validating the new normalization behavior. ChangesUnicode Normalization Wrapper System
Normalization Test Infrastructure and Coverage
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
2708fcd to
4c01111
Compare
rmunn
left a comment
There was a problem hiding this comment.
Double-checked that the cherry-pick didn't miss anything, and it didn't. The only differences between this PR and #2146 is the bit I commented on below, and one place that I didn't bother commenting on because it was an obvious typo fix.
* Normalize to NFD on write * Adapt tests to now non-mutated api input * Rename normalization wrappers and consolidate wrapper stack (#2259) * Introduce MiniLcmApiUserFacingWrappers to centralise wrapper ordering and rationale * Don't pass 'this' in normalization wrapper, because everything is normalized in first pass * Rename normalization wrappers for consistent naming
4c01111 to
a5cb293
Compare
Re-applies PR #2146 (commit 79c015a), which was lost from
developin a force-push ~9 days ago 🫨Single-commit cherry-pick onto current
develop. Two trivial textual conflicts resolved (kept both sides):FwLiteWeb/Routes/MiniLcmRoutes.cs: union of using directivesMiniLcm.Tests/CreateEntryTestsBase.cs: kept bothHomographNumberandOrderexclusions inCanCreateEntry_AutoFakerLocal builds: FwLiteWeb, FwLiteMaui (win), MiniLcm.Tests, FwLiteProjectSync.Tests, FwDataMiniLcmBridge.Tests, LcmCrdt.Tests all green.