-
Notifications
You must be signed in to change notification settings - Fork 7.6k
v2 work-in-progress #3201
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
Comments
@akarnokd I'm pulling in the snapshot and starting to apply it to a project. Things I still need to replace 1.x are:
Are you working on any of these or have them close? Otherwise I'll start on some of them. |
The project I want to use v2 with is this: https://github.com/ReactiveSocket/reactivesocket-java It uses Reactive Streams as the public API, and is very performance sensitive. Right now I'm only using RxJava v1 in the unit tests, and the operators/classes listed above are what I need before I can move from v1 to v2. To use in the main code and replace the custom We also can't go too much farther with v2 work without establishing how our unit and perf tests will be done. |
These are available:
I plan to do The other operators you mentioned are lower priority for me and plan to leave them for now. Otherwise, as of now 2.x contains:
I plan to move the unit tests one by one after all operators have been implemented. As for the perf classes, I thought adding RxJava 1.0 as a perf dependency to gradle but don't know how ( |
@benjchristensen @akarnokd since RxJava v2 will be different from v1 in many aspects I want to ask: you still want to keep both It adds some confusion for RxJava users that I know (and for me in past, but then I've found #792). See: Or if you still want to keep both of them can we please add more information and notice the difference between |
@artem-zinnatullin if more docs would help, perhaps you could help contribute them in https://github.com/ReactiveX/reactivex.github.io? It's too early in 2.x to have the In 2.x however we should no longer need a concrete |
@akarnokd thank you for the info
Before moving the unit tests over, I want us to agree on what the base tests for each operator should be. The 1.x unit tests all organically happened over 2+ years and our experience with what should be expected on each operator changed dramatically over that time. Let's capture that experience and knowledge in a base test suite that each operator must pass. Additionally, each operator should pass the Reactive Streams TCK. Once we have that, then I'm okay with us moving over other tests to assert specific operator behavior outside the standard Reactive Stream/ReactiveX semantics. As for perf tests, that's an interesting idea to have 1.x as a dependency for comparisons. Yes, I think it would be |
Here are the issues applicable to unit tests and perf:
|
@artem-zinnatullin In the current 2.x, @benjchristensen I don't know much about the RS TCK but it is a good opportunity for the community to submit PRs that uses it. |
@benjchristensen All your requested methods/classes have been added to 2.x. |
Yes, or I'll get to it. My ask is that you don't start on the unit tests until we've agreed upon an approach.
You're a machine! :-) Playing with them shortly ... |
+100! @benjchristensen @akarnokd thanks for explanation about |
I've finished with the test porting; all tests I considered relevant are now ported and pass. There are, however, about ~80 ignored tests and ~20 commented out which either test for I haven't copied over the javadocs. This honorable task can go to anybody that wishes to do it. I haven't added unit test for any new behavior, operator or overload nor are there explicit null-tests. This can also happen later once the feature-set reviews are complete. Last of all, I'm not particularly interested in This means 2.x can now switch to the regular review-process (famous last words before a critical bug is discovered that takes weeks to be merged... :) ). All PRs targeting 2.x will now be subject to the same 2 approvers rule. |
Excellent work @akarnokd Thanks for confirming that we'll now flip to the PR review model. Now that things have calmed down I will try using 2.x again and provide feedback as I have it. @headinthebox and I have been debating some design things related to |
Closing this in favor of #4029. |
Since @akarnokd has started sprinting on v2 ... a place to discuss back-and-forth ...
The text was updated successfully, but these errors were encountered: