Skip to content

[7.1.3 Cherry-pick] Address sqlclient-pr Pipeline Gaps - #5082

Open
github-actions[bot] wants to merge 3 commits into
release/7.1from
dev/automation/pr-5005-to-7.1.3
Open

github-actions[bot] wants to merge 3 commits into
release/7.1from
dev/automation/pr-5005-to-7.1.3

Conversation

@github-actions

Copy link
Copy Markdown

Cherry-pick of #5005 (346ce48) into release/7.1 failed due to merge conflicts.

Note: Milestone 7.1.3 does not exist yet. Please create it and assign this PR manually.

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

To resolve, run:  git cherry-pick 346ce48
@azure-pipelines

Copy link
Copy Markdown
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
@benrr101
benrr101 marked this pull request as ready for review November 16, 2026 20:09
@benrr101
benrr101 requested a review from a team as a code owner November 16, 2026 20:09
Copilot AI balanced review requested due to automatic review settings November 16, 2026 20:09
@benrr101 benrr101 changed the title [7.1.3 Cherry-pick - CONFLICTS] Address sqlclient-pr Pipeline Gaps [7.1.3 Cherry-pick] Address sqlclient-pr Pipeline Gaps Nov 16, 2026
@benrr101
benrr101 enabled auto-merge (squash) November 16, 2026 20:09
@benrr101

Copy link
Copy Markdown
Contributor

/azp run

benrr101
benrr101 previously approved these changes Nov 16, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

@mdaigle mdaigle added this to the 7.1.3 milestone Nov 16, 2026
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.82%. Comparing base (0038239) to head (1e8a4f0).
⚠️ Report is 8 commits behind head on release/7.1.

❗ There is a different number of reports uploaded between BASE (0038239) and HEAD (1e8a4f0). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (0038239) HEAD (1e8a4f0)
CI-SqlClient 1 0
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     
Flag Coverage Δ
CI-SqlClient ?
PR-SqlClient-Project 65.82% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@benrr101

Copy link
Copy Markdown
Contributor

/azp run sqlclient-pr

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To triage

Development

Successfully merging this pull request may close these issues.

4 participants