-
Notifications
You must be signed in to change notification settings - Fork 73
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
SANDBOX-858: make getAndPrint exportable #1075
SANDBOX-858: make getAndPrint exportable #1075
Conversation
Quality Gate passedIssues Measures |
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.
minor - should we move the packages used by WA to toolchain-common or some new library/repo ?
I'm asking this since importing from toolchain-e2e might be problematic - for example in case toolchain-e2e and WA depend on different versions of api
and toolchain-common
. It is very unlikely that this might happen with the current workflow, since we have the habit to keep those up to date in all repositories, but there is no restriction or enforcement on doing that.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, mfrancisc, rsoaresd The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
cbf20a6
into
codeready-toolchain:master
Good point @mfrancisc. That being said, I think it's fine to have the direct dependency from WA to toolchain-e2e repo |
Got it , thanks for explaining. I see that there is no value ATM in doing this separation. One other thing to consider ( a part from the |
there are two types of dependencies:
The only thing that could break WA e2e test is the first one. If there is some change in the setup that is not compatible with:
but there is nothing we could do about it. So, I wouldn't worry about it |
this type of dependency could break as well, if you need to update the What I'm saying is that there is no way for someone doing changes on |
@mfrancisc @MatousJobanek, thanks a lot for this discussion and your insights! I thought about reusing toolchain-e2e make targets and functions ( The "most critical" aspect is indeed the setup, as @MatousJobanek mentioned. We rely on the I think we are good for now. But, in the future, we need to reconsider if we should move the logic to a common repo. |
I would try to re-use as much form the e2e repo in the wa tests as possible. So +1 to not duplicating the code but depending on / reusing it. |
Thanks for the background @rsoaresd 🙏 |
@alexeykazakov I agree, we should avoid duplication, I was wondering HOW we should reuse it, if keeping it in toolchain-e2e or moving the reusable stuff to some library repo ( like
Not a deal breaker right now I agree! I just wanted to point out that it's slightly different IMO because In addition , if I'm not mistaken, the version of But again, I agree this is the quicker way to move forward without duplicating code, it's not something we should worry about now, maybe later if it turns out to be problematic I would say 👍 |
Description
This PR makes
getAndPrint
exportable. It will be useful for waIssue ticket number and link
SANDBOX-858