Skip to content

Conversation

@michael-yxchen
Copy link
Contributor

The group spans are exclusive of the end round. Publisher should only retain groups with end rounds greater than the current round

The group spans are exclusive of the end round. Publisher should only
retain groups with end rounds greater than the current round
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the publisher's group garbage collection logic by correctly implementing exclusive end round semantics. The group retention logic now properly retains groups where the end round is strictly greater than the current round, rather than greater-than-or-equal.

  • Changed the group retention condition from >= to > to correctly implement exclusive end round semantics

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michael-yxchen michael-yxchen added this pull request to the merge queue Dec 9, 2025
Copy link
Contributor

@dshulyak dshulyak left a comment

Choose a reason for hiding this comment

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

is it possible to have unit test for this?

@michael-yxchen michael-yxchen removed this pull request from the merge queue due to a manual request Dec 9, 2025
@michael-yxchen
Copy link
Contributor Author

yeah I'll add a unit test

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.

5 participants