Introduce Logging package and rework official pipelines#3967
Merged
paulmedynski merged 64 commits intomainfrom Feb 24, 2026
Merged
Introduce Logging package and rework official pipelines#3967paulmedynski merged 64 commits intomainfrom
paulmedynski merged 64 commits intomainfrom
Conversation
paulmedynski
requested changes
Feb 23, 2026
eng/pipelines/common/templates/jobs/build-signed-package-job.yml
Outdated
Show resolved
Hide resolved
- Removed un-useful comments.
eng/pipelines/common/templates/jobs/build-signed-package-job.yml
Outdated
Show resolved
Hide resolved
paulmedynski
requested changes
Feb 23, 2026
eng/pipelines/common/templates/jobs/build-signed-package-job.yml
Outdated
Show resolved
Hide resolved
- Changed Stress Tests to use project references to get rid of a bunch of headaches.
paulmedynski
previously approved these changes
Feb 24, 2026
Contributor
paulmedynski
left a comment
There was a problem hiding this comment.
Phew - I finally approve 😅 Now fingers crossed all of the pipeline runs work!
...ata.SqlClient/tests/StressTests/SqlClient.Stress.Framework/SqlClient.Stress.Framework.csproj
Show resolved
Hide resolved
...rosoft.Data.SqlClient/tests/StressTests/SqlClient.Stress.Tests/SqlClient.Stress.Tests.csproj
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/MetricsTest.cs
Show resolved
Hide resolved
paulmedynski
previously approved these changes
Feb 24, 2026
Contributor
paulmedynski
left a comment
There was a problem hiding this comment.
Commentary for reviewers.
eng/pipelines/common/templates/steps/build-all-configurations-signed-dlls-step.yml
Show resolved
Hide resolved
eng/pipelines/common/templates/steps/build-all-configurations-signed-dlls-step.yml
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj
Show resolved
Hide resolved
apoorvdeshmukh
previously approved these changes
Feb 24, 2026
mdaigle
reviewed
Feb 24, 2026
src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj
Outdated
Show resolved
Hide resolved
mdaigle
previously approved these changes
Feb 24, 2026
Contributor
|
PR pipelines look good. Let's see what happens in the signing pipelines. |
Conflicts: src/Microsoft.Data.SqlClient.sln src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj
e85687c
src/Microsoft.Data.SqlClient.Extensions/Logging/src/LoggingVersions.props
Show resolved
Hide resolved
paulmedynski
approved these changes
Feb 24, 2026
mdaigle
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the ETW
SqlClientEventSourcetracing infrastructure (~1,180 lines) from the core driver into a newMicrosoft.Data.SqlClient.Extensions.Logging(netstandard2.0) NuGet package. This enables independent versioning and shared use across SqlClient and the AKV provider (which had its ownAKVEventSource, now deleted).Key Changes
Microsoft.Data.SqlClient.Extensions.Logging— containsSqlClientEventSource,SqlClientMetrics,SqlClientEventScope, and scope typesSqlClientEventSource.csreduced to a ~43-lineSqlClientDiagnosticsbridge; 28 source files updated fromTryEventScope/TrySNIEventScope→SqlClientEventScopeAKVEventSource.cs; AKV now uses the sharedSqlClientEventSource.Logfrom the Logging packagebuild.projgains Logging targets; nuspec files add Logging dependency across all TFMsPackageReadme.mdfor all 6 packages; new OneBranch pipeline design spec (522 lines); updatedAGENTS.mdChecklist