Repository navigation
fix: #1255 - #1256
Open
chollinger93 wants to merge 1 commit into
Open
fix: #1255#1256chollinger93 wants to merge 1 commit into
chollinger93 wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Disclaimer: I did this with the help of Claude (not the text/issue/PR, I despise LLM text). If you don't accept that, fine. I'm not a C/Cpp guy.
This is trying to fix #1255.
This adds
serverContentUnchanged, which tries to figure out if something actually changed by comparing the server's size and checksum with the last synced version.If the server content actually changed, either the size or checksum will be different and you still get a conflict.
I don't think this is a fix in the sense that it fixes the problem that my particular hosting setup has (NFS + docker), but I think it's a decent guard client side. But I wouldn't be offended if you closed this for being too grugbrained. :)
I tested this by building this on my M2 Pro Mac and tested it, but the bug is hard to reproduce. It didn't explode, so I think that's a good sign.