-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix System.Data.SqlClient dependency version on compat pack #55956
Conversation
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsFixes: #55952 We should not treat
|
Failures are unrelated. |
/backport to release/6.0-preview7 |
Started backporting to release/6.0-preview7: https://github.com/dotnet/runtime/actions/runs/1050047702 |
Thanks for the fix Santi 👍 One question so that I better understand the fallout:
I'm not sure if that's correct. System.Data.SqlClient lives in corefx which we don't treat as an external repository (do we?). Aside from servicing fixes, AFAIK the System.Data.SqlClient package should never change again. Does that impact the fix applied here? |
IMHO it shouldn't be a decision based on what repo the package is built, I think we should only index dependencies for packages that are still live built at the same branch as the compat pack. The reason for that is because an indexed dependency means that is a stable package is not listed we will produce a version with the prerelease label that we are producing on that current build based on date and time of the build being produce. So I think that is what leads to this kind of bugs, now we have testing of this package going forward so it doesn't matter much as we would catch it as part of the build, but since packages that are no longer built on the current branch should not be indexed and should just be pinned as those packages will never have a package with version with the prerelease label produced on that branch. |
Fixes: #55952
We should not treat
System.Data.SqlClient
as an indexed dependency on the compat pack as it is coming from an external repository, so every time a new version is released if we update the dependency version and don't update the packageIndex our infrastructure would treat it as a prerelease version rather than stable.