Reproducer and fix for the groupBy operator upstream requests#2003
Merged
jponge merged 1 commit intosmallrye:mainfrom Nov 13, 2025
Merged
Reproducer and fix for the groupBy operator upstream requests#2003jponge merged 1 commit intosmallrye:mainfrom
jponge merged 1 commit intosmallrye:mainfrom
Conversation
2d7ad6e to
251d09f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2003 +/- ##
============================================
- Coverage 89.15% 89.11% -0.04%
+ Complexity 3070 3068 -2
============================================
Files 409 409
Lines 13100 13099 -1
Branches 1652 1652
============================================
- Hits 11679 11673 -6
- Misses 805 808 +3
- Partials 616 618 +2
🚀 New features to boost your workflow:
|
jponge
approved these changes
Nov 13, 2025
implementation/src/test/java/io/smallrye/mutiny/operators/MultiGroupTest.java
Outdated
Show resolved
Hide resolved
implementation/src/test/java/io/smallrye/mutiny/operators/MultiGroupTest.java
Outdated
Show resolved
Hide resolved
implementation/src/test/java/io/smallrye/mutiny/operators/MultiGroupTest.java
Outdated
Show resolved
Hide resolved
implementation/src/test/java/io/smallrye/mutiny/operators/MultiGroupTest.java
Show resolved
Hide resolved
The groupBy operator was not correctly managing upstream requests. It now makes prefetch amount of requests each time the drain loop does not emit any items. This commit includes both a reproducer and the fix for the issue.
251d09f to
556bc46
Compare
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.
It makes prefetch amount of request each time drain loop does not emit any items
Seen in testing a solution for quarkusio/quarkus#50595