-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat(#455): handle baselineBranchName #330
base: master
Are you sure you want to change the base?
Conversation
const mainBranch = createTestRequestDto.sourceBranch ?? project.mainBranchName; | ||
const baselineBranch = createTestRequestDto.baselineBranchName ?? project.mainBranchName; |
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.
I noticed that sourceBranch
was never used, so I replaced it with baselineBranchName
to match existing parameter since that can already be set on the config and is send by the sdk-js if present.
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.
I guess it was used before to make manual test runs with comparison within branches not base on main branch
please, update docs on this method
@pashidlos I think this is now ready, please take a look. |
@@ -41,6 +41,7 @@ model Project { | |||
builds Build[] | |||
TestRun TestRun[] | |||
testVariations TestVariation[] | |||
protectedBranch String? |
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.
not sure I completely understand the purpose of this filtering
could we move this change to separate PR?
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.
Please see my comment here Visual-Regression-Tracker/Visual-Regression-Tracker#455 (comment).
Closes Visual-Regression-Tracker/Visual-Regression-Tracker#455
There is also correlated frontend MR Visual-Regression-Tracker/frontend#367