-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Pick the correct baseline for Percy builds on release branches #11385
Comments
👍 for nice graphics. What tool did you use? |
I used the |
Update: @choumx and I tried creating PRs on release branches before running visual tests in order to replicate the intended behavior outlined in this issue. However, we're still seeing the old behavior, where the baseline being used is the latest build on I've tried this with both manual and automatic diff base on Percy. Here is some debugging info: Pull request from release branch: #11531 With automatic diff base: (black build numbers) With manual diff base: (red build numbers) I'll raise this with the Percy folks. |
/cc @cramforce |
/to @timhaines |
Update from meeting with https://github.com/fotinakis: We identified that the automatic baseline picking logic wasn't working in #11531 because the PR was made off of a private branch on |
Further investigation from today: @choumx and I took another stab at creating a new PR based on a new release branch off of Results:
A way to pick the correct baseline in 1. would be for Percy to provide a means of specifying the baseline commit SHA for a build. We can then specify the branch point's SHA as the baseline in 1. This has been conveyed to https://github.com/fotinakis / @timhaines. I'll follow up on this issue when we have more updates. |
We're seeing more weird baseline picking behavior on Edit: Weird behavior was due to developers uploading PRs from the |
I've logged percy/percy-client#27 on the Percy repo to track the addition of a way to specify the baseline commit SHA to be used by a Percy build. |
I rolled this forward to the October H2 milestone. Any updates? |
This is currently blocked by the open issues in the percy repo. |
This issue hasn't been updated in awhile. @danielrozenberg Do you have any updates? |
This issue hasn't been updated in awhile. @danielrozenberg Do you have any updates? |
@danielrozenberg Good news! We now have the required support from Percy to fix this. See percy/percy-client#27 (comment), which adds a new |
While running visual tests on a release branch, we currently pick the most recent approved build on
master
as the baseline for diffs. This will result in a false negative if there are approved visual changes inmaster
that were merged after the branch point of the release branch.See https://percy.io/docs/learn/baseline-picking-logic. We want to go from the "branches" behavior to the "pull requests" behavior, and doing so will require the creation of a pull request prior to running tests on a release branch.
Current behavior:
Intended behavior:
/cc @cramforce @choumx @erwinmombay
The text was updated successfully, but these errors were encountered: