Repository navigation
[7.1.3 Cherry-pick] Address sqlclient-pr Pipeline Gaps - #5082
github-actions[bot] wants to merge 3 commits into
Conversation
To resolve, run: git cherry-pick 346ce48
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
* Add a release build/pack stage to the beginning of the pipeline to run in parallel with the other build/pack stage and the secret generation stage. * Add package verification to the build/pack stage * Adding managed SNI test runs for windows + netcore where relevant. * Add support for codecov uploads * Updated test that was checking for SQL browser before checking for running the test. * Add shared os-agnostic template for * Disappointed 🤖 didn't notice the syntax error in the conditions... Also adding a better comment about running on Windows VM. * Fix mistakes
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
🟡 Changes recommended
The Windows localhost pipeline references a template absent from this branch, causing Azure DevOps template expansion to fail before any jobs can run.
1 open issue
What changed in this PR
Backports PR #5005’s validation improvements to release/7.1, expanding build, package, and test checks in the sqlclient-pr pipeline.
Changes:
- Adds Release build/pack validation and Windows-based NuGet package verification.
- Adds Windows managed SNI test jobs, configuration support, and net-only account hooks.
- Adds secret-backed Codecov uploads for non-fork PRs and portable build-output logging.
| File | Description |
|---|---|
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/SqlDSEnumeratorTest/SqlDataSourceEnumeratorTest.cs |
Calls managed enumeration directly and checks the expected exception. |
eng/pipelines/pr/variables/pr-variables.yml |
Defines separate Debug/Release stage names and documents shared variables. |
eng/pipelines/pr/steps/upload-codecov-step.yml |
Adds Codecov download and upload steps. |
eng/pipelines/pr/stages/test-stages.yml |
Adds managed/native SNI jobs and both packaging dependencies. |
eng/pipelines/pr/stages/pack-stage.yml |
Adds package verification and configuration-specific artifact names. |
eng/pipelines/pr/stages/collect-coverage-stage.yml |
Connects merged coverage to non-fork Codecov uploads. |
eng/pipelines/pr/sqlclient-pr-pipeline.yml |
Runs Debug and Release packaging on Windows. |
eng/pipelines/pr/jobs/test-sqlclientmanual-job.yml |
Configures managed SNI and adds net-only setup/cleanup hooks. |
eng/pipelines/common/steps/output-tree-step.yml |
Adds reusable PowerShell directory-tree logging. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## release/7.1 #5082 +/- ##
===============================================
- Coverage 72.84% 65.82% -7.03%
===============================================
Files 306 300 -6
Lines 45143 68171 +23028
===============================================
+ Hits 32886 44875 +11989
- Misses 12257 23296 +11039
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
/azp run sqlclient-pr |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |

Cherry-pick of #5005 (346ce48) into
release/7.1failed due to merge conflicts.Please resolve manually:
git fetch origin git checkout dev/automation/pr-5005-to-7.1.3 git cherry-pick 346ce480b3bee544fd9d1e1251662676b24a0647 # resolve conflicts git push origin dev/automation/pr-5005-to-7.1.3 --force