-
Notifications
You must be signed in to change notification settings - Fork 67
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
[BUG] Circular dependency on performance-analyzer-rca #50
Comments
I think there's more to this: there is a circular dependency between performance-analyzer and performance-analyzer-rca in CI.
If both projects stop building each-other, and consume each-other's snapshot builds it will be half the battle. |
@sruti1312 can you provide what would be required to fix this? |
This issue is fixed with creation of new library (https://github.com/opensearch-project/performance-analyzer-commons/) to house the common code. |
Is your feature request related to a problem?
RCA package is built inline. The RCA project needs to build and publish itself in a way that can be picked up by PA, just like all the dependencies and the circular dependency resolved.
Background into this issue:
Currently RCA project is built as a part of PA build followed by unpacking and copying the RCA artifacts to PA artifacts location. Answering to why this is different from other types of dependencies. Inorder to create the PA artifact,i it relies on copying files and folders from the RCA package, we use gradle for building and bring in these RCA bits into PA artifact.
opendistro-for-elasticsearch/performance-analyzer#131
RCA package is more of a component built and shipped along with PA plugin than a dependency.
What solution would you like?
We want to change it in a way that PA consume RCA like a dependency and one of the projects needs to stop depending on the other.
Additional info
To increment versions to 1.1 we had to:
in performance-analyzer: #53 that relied on a private branch of performance-analyzer-rc + #54
in performance-analyzer-rc: opensearch-project/performance-analyzer-rca#55 that relied on a private branch + opensearch-project/performance-analyzer-rca#58
The text was updated successfully, but these errors were encountered: