-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[ASP.NET] Remove versions from baselines #29093
Conversation
switch (comparisonMode) | ||
{ | ||
case GroupComparisonMode.Exact: | ||
break; | ||
case GroupComparisonMode.AllowAdditionalAssets: | ||
break; | ||
default: | ||
break; | ||
} |
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.
TODO: we plan to allow tests to pass even if the baselines do not exactly match in some circumstances (like if there are additional dlls and so on).
For that, we will compare the list of assets by groups of assets instead of as a flat list and apply different validation rules to each group.
9c9ddcb
to
676ef5f
Compare
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.
🏆
* Updates the way the baselines are compared to generate a template of the baselines from the current manifest and compare it against the existing template instead of applying the current versions to the baseline and comparing it against the generated manifest. * Removes all the versions and hashes from all the files Wed generate. * Splits the code for generating and comparing the baselines into their own classes for better maintenance. * Updates the baselines to reflect the new format.
676ef5f
to
45d4a57
Compare
* Updates the way the baselines are compared to generate a template of the baselines from the current manifest and compare it against the existing template instead of applying the current versions to the baseline and comparing it against the generated manifest. * Removes all the versions and hashes from all the files Wed generate. * Splits the code for generating and comparing the baselines into their own classes for better maintenance. * Updates the baselines to reflect the new format.
* Updates the way the baselines are compared to generate a template of the baselines from the current manifest and compare it against the existing template instead of applying the current versions to the baseline and comparing it against the generated manifest. * Removes all the versions and hashes from all the files Wed generate. * Splits the code for generating and comparing the baselines into their own classes for better maintenance. * Updates the baselines to reflect the new format.
* Updates the way the baselines are compared to generate a template of the baselines from the current manifest and compare it against the existing template instead of applying the current versions to the baseline and comparing it against the generated manifest. * Removes all the versions and hashes from all the files Wed generate. * Splits the code for generating and comparing the baselines into their own classes for better maintenance. * Updates the baselines to reflect the new format.
Thanks for this PR, the watch tests are unrelated and being tracked here: #29099 |
@nagilson unfortunately this is blocking me from merging. |
@marcpopMSFT can you force-merge this given that the cause for failures is known and is being tracked separately? |
* Updates the way the baselines are compared to generate a template of the baselines from the current manifest and compare it against the existing template instead of applying the current versions to the baseline and comparing it against the generated manifest. * Removes all the versions and hashes from all the files Wed generate. * Splits the code for generating and comparing the baselines into their own classes for better maintenance. * Updates the baselines to reflect the new format.
I have used the force |
…aselines-7200 [ASP.NET] Remove versions from baselines (#29093)
…aselines-6100 [ASP.NET] Remove versions from baselines (#29093)
…aselines-7100 [ASP.NET] Remove versions from baselines (#29093)
This PR changes how we perform baseline comparisons by removing the artifacts from the generated baselines and comparing the templates against each other instead of applying certain values to the templates