Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO-3924: Fix event message ordering for state change events #1561

Conversation

deff7
Copy link
Member

@deff7 deff7 commented Sep 9, 2024

No description provided.

@@ -686,6 +686,8 @@ func (s *State) apply(fast, one, withLayouts bool) (msgs []simple.EventMessage,
}

msgs = s.processTrailingDuplicatedEvents(msgs)

sortEventMessages(msgs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems we should insert sorting before trailing dups analysis. Or we don't need this analysis at all? 😀

@deff7 deff7 merged commit 6384ea9 into feature/chat Sep 9, 2024
4 checks passed
@deff7 deff7 deleted the go-3924-convert-empty-object-to-set-messages-order-problem branch September 9, 2024 16:18
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants