dotnet / SqlClient

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
MIT License
860 stars 288 forks source link

Add IDBColumnSchemaGenerator interface to netfx SqlDataReader #2967

Open MichelZ opened 2 weeks ago

MichelZ commented 2 weeks ago

Bring IDBColumnSchemaGenerator to netfx for later code base merging

I made sure to enable the respective test for netfx

Part of #2965

MichelZ commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Commenter does not have sufficient privileges for PR 2967 in repo dotnet/SqlClient
MichelZ commented 2 weeks ago

@edwardneal Would you mind running the pipeline for me on this one? :)

edwardneal commented 2 weeks ago

Thanks for this MichelZ. The changes look good to me; would you mind feeding the extra package reference through to the nuspec file and the .NET Framework reference csproj please?

I don't have access to the pipelines, but hopefully the SqlClient team will be able to look at it in a few days. Something's definitely odd there - your PRs didn't run the CI builds, and my commit ran the CI build but encountered a lot more timeouts than normal in the tests.

MichelZ commented 2 weeks ago

Will do. I'm not a contributor, that's probably why the pipelines don't run for me (yet) (Can you try to just do an /azp run and see what happens?)

edwardneal commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Commenter does not have sufficient privileges for PR 2967 in repo dotnet/SqlClient
MichelZ commented 2 weeks ago

Thanks for trying :)

ErikEJ commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Commenter does not have sufficient privileges for PR 2967 in repo dotnet/SqlClient
benrr101 commented 2 weeks ago

@ErikEJ @edwardneal @MichelZ We have changed security rules recently such that only contributors can kick off pipeline runs. This is due to the potential for contributors to run code in PRs that could be hazardous to our build agents or cause a DoS.

benrr101 commented 2 weeks ago

/azp run

azure-pipelines[bot] commented 2 weeks ago
Azure Pipelines successfully started running 2 pipeline(s).
MichelZ commented 2 weeks ago

This package needs to be added to the sqlclientdriver nuget feed for this build to succeed: System.Data.Common: 4.3.0

benrr101 commented 1 week ago

@MichelZ I might've mentioned it before but yep, we've got security on the internal nuget feed such that only contributors can pull upstream packages from the feed. I've gone ahead and added System.Data.Common 4.3.0 to the feed, so it should be good to go.

benrr101 commented 1 week ago

/azp run

azure-pipelines[bot] commented 1 week ago
Azure Pipelines successfully started running 2 pipeline(s).
MichelZ commented 2 days ago

Done. I'd need another /azp run I guess :)

David-Engel commented 2 days ago

/azp run

azure-pipelines[bot] commented 2 days ago
Azure Pipelines successfully started running 2 pipeline(s).
codecov[bot] commented 5 hours ago

Codecov Report

Attention: Patch coverage is 77.41935% with 7 lines in your changes missing coverage. Please review.

Project coverage is 72.65%. Comparing base (1b9df10) to head (27a117e).

Files with missing lines Patch % Lines
...etfx/src/Microsoft/Data/SqlClient/SqlDataReader.cs 77.41% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2967 +/- ## ========================================== + Coverage 72.64% 72.65% +0.01% ========================================== Files 285 285 Lines 59160 59191 +31 ========================================== + Hits 42979 43008 +29 - Misses 16181 16183 +2 ``` | [Flag](https://app.codecov.io/gh/dotnet/SqlClient/pull/2967/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [addons](https://app.codecov.io/gh/dotnet/SqlClient/pull/2967/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `92.58% <ø> (ø)` | | | [netcore](https://app.codecov.io/gh/dotnet/SqlClient/pull/2967/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `75.39% <ø> (+0.01%)` | :arrow_up: | | [netfx](https://app.codecov.io/gh/dotnet/SqlClient/pull/2967/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `71.09% <77.41%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: