Repository navigation
Conversation
endel
added a commit
that referenced
this pull request
Nov 5, 2026
Co-authored-by: JROtto5 <[email protected]> Assisted-by: Claude Opus 5.5
Member
|
Thanks @JROtto5, both for the report and for the fix. We ended up landing a fix directly on master (390cf38...f512336), released as 5.0.44, so I'm closing this in favor of it. Your paused-tracking guard and the three SDK fixtures are in it, with you as co-author, and the changelog credits you. What's different from this PR:
All 20 of your tests pass on master. The untracked-delete crash I hit along the way is now #251. |
Contributor
Author
|
Thanks @endel. Sending only the moved slots is a much better fix than the full re-send I went with, and I had missed the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #249
sort()in the same patch as another operation on the same array left clients out of sync: ops staged earlier in the tick resolved against the re-sortedtmpItems, a clean-tick sort's refCount-neutralREPLACEs broke a later removal, and a non-deterministic comparator ordereditemsandtmpItemsdifferently.sort()falls back toCLEAR+ re-ADD, likereverse()(aadcd9c).tmpItemsis copied from the sorteditems.Encoder only, no new ops. On fallback and re-state ticks clients get
onRemove/onAddfor every element, as withreverse(). 20 new tests (11 fail on master) and three self-verifying SDK fixtures;npm testandbench:gatepass.