Introduce Logging package and rework official pipelines#3967
Open
cheenamalhotra wants to merge 60 commits intomainfrom
Open
Introduce Logging package and rework official pipelines#3967cheenamalhotra wants to merge 60 commits intomainfrom
cheenamalhotra wants to merge 60 commits intomainfrom
Conversation
eng/pipelines/common/templates/jobs/build-signed-package-job.yml
Outdated
Show resolved
Hide resolved
- Replaced copy scripts with CopyFiles@2 tasks.
mdaigle
requested changes
Feb 20, 2026
Contributor
mdaigle
left a comment
There was a problem hiding this comment.
It may work as a whole, but this is a tough one to review because there are so many ideas combined into one changeset. I'd really like to see pieces broken out so that they can be effectively reviewed.
eng/pipelines/common/templates/jobs/build-signed-package-job.yml
Outdated
Show resolved
Hide resolved
eng/pipelines/common/templates/steps/configure-sql-server-step.yml
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/add-ons/AzureKeyVaultProvider/PackageReadme.md
Show resolved
Hide resolved
- Fixed inconsistent/inaccurate official pipeline variable names.
- Addressed some of the stub parameter comments.
- Fixed ApiScan file copying for SqlClient. - Removed some unused parameters, variables, and files.
mdaigle
requested changes
Feb 23, 2026
Contributor
|
I think all of my comments are addressed. I'll be looking at the pipelines directly now to make sure everything looks good. |
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.
| inputs: | ||
| SourceFolder: $(BUILD_OUTPUT)/Package/bin | ||
| Contents: '**/Microsoft.Data.SqlClient*.pdb' | ||
| TargetFolder: $(ob_sql_apiscan_symbolsFolder) |
There was a problem hiding this comment.
Same issue as above: this APIScan step uses $(ob_sql_apiscan_symbolsFolder) but the job variables define ob_sdl_apiscan_symbolsFolder. Align the variable names so PDBs are copied to the configured APIScan symbols folder.
Suggested change
| TargetFolder: $(ob_sql_apiscan_symbolsFolder) | |
| TargetFolder: $(ob_sdl_apiscan_symbolsFolder) |
paulmedynski
requested changes
Feb 23, 2026
| inputs: | ||
| SourceFolder: $(BUILD_OUTPUT)/Package/bin | ||
| Contents: '**/Microsoft.Data.SqlClient*.dll' | ||
| TargetFolder: $(ob_sql_apiscan_softwareFolder) |
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