Upgrade Project Reactor 2024.0.13 -> 2025.0.3#1969
Upgrade Project Reactor 2024.0.13 -> 2025.0.3#1969Picnic-DevPla-Bot wants to merge 11 commits intomasterfrom
Conversation
|
Looks good. No mutations were possible for these changes. |
There was a problem hiding this comment.
I added a commit to manage the version of org.reactivestreams:reactive-streams, as the BOM no longer does this. I filed reactor/reactor#768 to ask for a release notes entry or revert.
The build won't pass yet, as I'll need to address some NullAway warnings due to the new JSpecify support.
Suggested commit message:
Upgrade Project Reactor 2024.0.16 -> 2025.0.4 (#1969)
See:
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M1
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M2
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M3
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M4
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M5
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M6
- https://github.com/reactor/reactor/releases/tag/2025.0.0-M7
- https://github.com/reactor/reactor/releases/tag/2025.0.0-RC1
- https://github.com/reactor/reactor/releases/tag/2025.0.0
- https://github.com/reactor/reactor/releases/tag/2025.0.1
- https://github.com/reactor/reactor/releases/tag/2025.0.2
- https://github.com/reactor/reactor/releases/tag/2025.0.3
- https://github.com/reactor/reactor/releases/tag/2025.0.4
- https://github.com/reactor/reactor/compare/2024.0.16...2025.0.4
|
Looks good. No mutations were possible for these changes. |
There was a problem hiding this comment.
@msridhar perhaps I'm overlooking something trivial, but I'm not sure how to resolve this warning and the two similar ones shown below. Now that Project Reactor adopted JSpecify, the signature of Flux#mapNotNull is:
public final <V> Flux<V> mapNotNull(Function <? super T, ? extends @Nullable V> mapper)The use of .orElse(null) here seems compatible with that. Note that the warning is reported on the whole o -> o.orElse(null) lambda expression.
There was a problem hiding this comment.
I think this might get resolved by uber/NullAway#1337 (FYI @dhruv-agr). We will try testing on our end and let you know. If you need to merge this in the meantime, I think you'll have to suppress.
There was a problem hiding this comment.
Tnx for the quick response; clear! 💪
There was a problem hiding this comment.
FYI this one is actually uber/NullAway#1350 and is not resolved yet; we're still working on it
There was a problem hiding this comment.
@msridhar I rebased this upgrade PR on top of the upgrade to NullAway 0.13.2 (#2210), but the .mapNotNull calls are still being flagged:
[NullAway] returning @Nullable expression from method with @NonNull return type
For now I've added @SuppressWarnings("NullAway" /* `mapNotNull` result *is* `@Nullable`. */) to unblock this upgrade. Let me know if you'd like me to file a separate NullAway issue for this topic, or whether there's an existing issue I can link to.
There was a problem hiding this comment.
Thanks a lot for tracking this, @Stephan202. Can you open a new issue for this one? I thought we might have something on it but I can't find it. I suspect this is related to wildcard support but I'd like to track this case specifically
cf25141 to
aa9a7af
Compare
|
|
|
Looks good. No mutations were possible for these changes. |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
4a1a160 to
78355bb
Compare
aa9a7af to
841bc6f
Compare
|
Looks good. No mutations were possible for these changes. |
841bc6f to
58644c2
Compare
|
|
Looks good. No mutations were possible for these changes. |
1 similar comment
|
Looks good. No mutations were possible for these changes. |
58644c2 to
385e60e
Compare
|
Suggested commit message: Edit: see above. |
6e1eb54 to
a94c42f
Compare
|
|
Looks good. No mutations were possible for these changes. |
|
I rebased the PR and bumped the dependency to the latest version. The build still fails, but that's likely because the NullAway fixes mentioned above haven't been released yet. |
a94c42f to
8c04969
Compare
|
Looks good. No mutations were possible for these changes. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdates type annotations in Reactor template rules from nullable void types ( Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
8c04969 to
e6efb05
Compare
|
Looks good. No mutations were possible for these changes. |
There was a problem hiding this comment.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
javac
[javac] reported by reviewdog 🐶
[NullAway] Generic type parameter cannot be @nullable, as type variable T of type reactor.core.publisher.Mono does not have a @nullable upper bound
[javac] reported by reviewdog 🐶
[NullAway] incompatible types: Mono<@nullable Void> cannot be converted to Publisher (Mono<@nullable Void> is a subtype of Publisher<@nullable Void>)
|
|
Looks good. No mutations were possible for these changes. |
Stephan202
left a comment
There was a problem hiding this comment.
Rebased the branch onto #2210 and added a commit.
There was a problem hiding this comment.
@msridhar I rebased this upgrade PR on top of the upgrade to NullAway 0.13.2 (#2210), but the .mapNotNull calls are still being flagged:
[NullAway] returning @Nullable expression from method with @NonNull return type
For now I've added @SuppressWarnings("NullAway" /* `mapNotNull` result *is* `@Nullable`. */) to unblock this upgrade. Let me know if you'd like me to file a separate NullAway issue for this topic, or whether there's an existing issue I can link to.



This PR contains the following updates:
2024.0.11->2025.0.0Release Notes
reactor/reactor (Project Reactor)
v2025.0.0Compare Source
2025.0.0release train is made of:3.8.03.6.01.2.01.3.01.3.0v2024.0.12Compare Source
2024.0.12release train is made of:3.7.131.1.61.2.121.2.51.3.25These artifacts didn't have any changes:
3.5.4