Skip to content

fix: context context propagation in Uni-calling operators#1985

Merged
jponge merged 1 commit intosmallrye:mainfrom
jponge:fix/uni-call-context-propagation
Oct 23, 2025
Merged

fix: context context propagation in Uni-calling operators#1985
jponge merged 1 commit intosmallrye:mainfrom
jponge:fix/uni-call-context-propagation

Conversation

@jponge
Copy link
Copy Markdown
Member

@jponge jponge commented Oct 22, 2025

Those operators would subscribe to a Uni, but the current operator context would not be forwarded.

Fixes #1984

@jponge jponge added this to the 3.0.1 milestone Oct 22, 2025
@jponge jponge added bug Something isn't working backport PR that shall be back-ported labels Oct 22, 2025
@jponge
Copy link
Copy Markdown
Member Author

jponge commented Oct 22, 2025

Must be backported to 2.9.x

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 88.46154% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.12%. Comparing base (1e3d62a) to head (4c56647).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...mutiny/operators/multi/builders/ResourceMulti.java 66.66% 1 Missing and 1 partial ⚠️
...o/smallrye/mutiny/operators/uni/UniDelayUntil.java 75.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1985      +/-   ##
============================================
- Coverage     89.14%   89.12%   -0.02%     
+ Complexity     3070     3067       -3     
============================================
  Files           409      409              
  Lines         13068    13093      +25     
  Branches       1650     1651       +1     
============================================
+ Hits          11649    11669      +20     
+ Misses          807      805       -2     
- Partials        612      619       +7     
Files with missing lines Coverage Δ
...utiny/operators/multi/MultiOnCancellationCall.java 86.36% <100.00%> (+0.64%) ⬆️
.../mutiny/operators/multi/MultiOnCompletionCall.java 86.95% <100.00%> (+0.59%) ⬆️
...rye/mutiny/operators/multi/MultiOnRequestCall.java 96.55% <100.00%> (+0.12%) ⬆️
...e/mutiny/operators/multi/MultiOnSubscribeCall.java 87.93% <100.00%> (+0.21%) ⬆️
...mutiny/operators/multi/MultiOnTerminationCall.java 85.29% <100.00%> (+1.42%) ⬆️
...rye/mutiny/operators/multi/MultiRepeatUntilOp.java 95.38% <100.00%> (+0.07%) ⬆️
...rators/multi/overflow/MultiOnOverflowBufferOp.java 88.23% <100.00%> (+0.09%) ⬆️
...ors/multi/overflow/MultiOnOverflowDropItemsOp.java 87.75% <100.00%> (+0.25%) ⬆️
...tors/multi/overflow/MultiOnOverflowKeepLastOp.java 88.42% <100.00%> (+0.12%) ⬆️
...ye/mutiny/operators/uni/UniOnCancellationCall.java 77.77% <100.00%> (+0.63%) ⬆️
... and 4 more

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Those operators would subscribe to a Uni, but the current operator context
would not be forwarded.

Fixes smallrye#1984
@jponge jponge force-pushed the fix/uni-call-context-propagation branch from 8c9558e to 4c56647 Compare October 22, 2025 16:46
@jponge jponge merged commit e189fe1 into smallrye:main Oct 23, 2025
8 checks passed
jponge added a commit that referenced this pull request Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport PR that shall be back-ported bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MultiOnCompletionCall and similar operators not propagating context

1 participant