-
Notifications
You must be signed in to change notification settings - Fork 297
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
Add System.Reactive.Compatibility as a dependency to DurableTask.Core #501
Conversation
Having different major versions of System.Reactive.Core and System.Reactive can lead to compilation confusions. Since this dependency does not appear to be required, we should remove it so that customers don't have to workaround this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the CI failures, it would appear that the correlation tracing work depends on System.Reactive.Core
, no?
Oddly it is building locally for me, but not in the CI, so I'm trying to understand why. |
Where is the dependency on System.Reactive coming from? |
I can confirm that |
To clarify, it looks like The customer who encountered an issue was using v4 of System.Reactive, which leads to a compilation error. This is a well-known issue with using different major versions of System.Reactive.Core and System.Reactive. Our options to make sure that customers don't run into this are:
I think either option 1 or 3 are viable, but since I am running into build issues with option 1, I'll probably just go with option 3. |
The Distributed Tracing work required adding System.Reactive.Core as a dependency. However, if the customer app was using a different major version of System.Reactive, it could lead to ambiguous compilation issues. Adding this package (and upgrading to use v4 of System.Reactive.Core) should resolve this issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Glad there already exists a compatibility layer :)
The Distributed Tracing work required adding System.Reactive.Core as a
dependency. However, if the customer app was using a different major
version of System.Reactive, it could lead to ambiguous compilation
issues.
Adding this package (and upgrading to use v4 of System.Reactive.Core)
should resolve this issue.
Addresses Azure/azure-functions-durable-extension#1620