Repository navigation
A Save no longer pairs old text with a Download's change number; a rename keeps one save - #44
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A pull in that wait recorded a newer number the save would pair with older text. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…he re-read refusal The refusal could stop a good Save when the editor's own autosave landed between the reads. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uns a second beside it Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Three races between a Save, auto-sync and a Download.
If-Match. A Download that wrote the note in that wait recorded a newer number, so the older text passed the check and went over what the Download had brought. The numbers are now read before the text; such a Save is refused as stale and nothing is sent.Each has a test that fails on 3.23.1.
Known limits, unchanged: a note with no recorded change number (a vault from before 3.8.1, a note never saved) is saved without the check once, as before.
🤖 Generated with Claude Code