Skip to content

fix: mesh sync improperly#555

Merged
ppca merged 3 commits intodevelopfrom
phuong/fix/mesh-syncing-issue
Oct 7, 2025
Merged

fix: mesh sync improperly#555
ppca merged 3 commits intodevelopfrom
phuong/fix/mesh-syncing-issue

Conversation

@ChaoticTempest
Copy link
Copy Markdown
Contributor

There was a point where in the update for MeshState, we weren't remove need_sync when transitioning to Active. Also, the connection wasn't transitioning properly as it would overwrite the syncing on the next ping.

This fixes those issues, but might put us in the syncing state if sync is going to fail. If it becomes an issue on devnet, will fix later. Just trying to keep this fix small for now. The unit tests for mesh have been updated to accommodate syncing state.

@volovyks
Copy link
Copy Markdown
Contributor

volovyks commented Oct 7, 2025

might put us in the syncing state if sync is going to fail

Isn't that the expected behaviour?
I thought we needed to stay in the "Sync required" state until it is successful.

@ChaoticTempest
Copy link
Copy Markdown
Contributor Author

ChaoticTempest commented Oct 7, 2025

yes, but that also means that we're stuck in syncing state forever if sync fails, which it won't yet because we are not responding with anything yet

@ppca ppca merged commit d9f0b55 into develop Oct 7, 2025
3 checks passed
@ppca ppca deleted the phuong/fix/mesh-syncing-issue branch October 7, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants