Skip to content

[6.1] Port #3828 to release/6.1#3886

Merged
cheenamalhotra merged 1 commit into
release/6.1from
dev/ad/codeCovFix61
Jan 14, 2026
Merged

[6.1] Port #3828 to release/6.1#3886
cheenamalhotra merged 1 commit into
release/6.1from
dev/ad/codeCovFix61

Conversation

@apoorvdeshmukh
Copy link
Copy Markdown
Contributor

@apoorvdeshmukh apoorvdeshmukh commented Jan 13, 2026

Description

Port #3828 to release/6.1 to fix codeCov upload issues observed in ADO.

Issues

AB#41642

Guidelines

Please review the contribution guidelines before submitting a pull request:

@apoorvdeshmukh apoorvdeshmukh requested a review from a team as a code owner January 13, 2026 19:05
Copilot AI review requested due to automatic review settings January 13, 2026 19:05
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Jan 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR ports changes from #3828 to the release/6.1 branch to fix CodeCov upload issues in Azure DevOps pipelines. The changes make the code coverage upload behavior configurable via a pipeline variable instead of using a default value.

Changes:

  • Removed the default value for the upload parameter in the code coverage job template, making it an explicitly required parameter
  • Added configuration in the core CI pipeline to control upload behavior via the ci_var_uploadTestResult pipeline variable with comprehensive documentation

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/pipelines/dotnet-sqlclient-ci-core.yml Adds upload parameter configuration with pipeline variable check and documentation comments explaining the requirement
eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml Removes default value for upload parameter, making it explicitly required by callers

paulmedynski
paulmedynski previously approved these changes Jan 13, 2026
samsharma2700
samsharma2700 previously approved these changes Jan 13, 2026
Copy link
Copy Markdown
Contributor

@mdaigle mdaigle left a comment

Choose a reason for hiding this comment

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

See my comment on #3889. As is I believe this blocks all code cov uploading.

@github-project-automation github-project-automation Bot moved this from To triage to In progress in SqlClient Board Jan 13, 2026
@mdaigle
Copy link
Copy Markdown
Contributor

mdaigle commented Jan 13, 2026

Copilot AI review requested due to automatic review settings January 14, 2026 12:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Comment thread eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml Outdated
paulmedynski
paulmedynski previously approved these changes Jan 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml Outdated
Comment thread eng/pipelines/dotnet-sqlclient-ci-core.yml
Comment thread eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.17%. Comparing base (84132c1) to head (d1b2f8b).

Additional details and impacted files
@@               Coverage Diff               @@
##           release/6.1    #3886      +/-   ##
===============================================
+ Coverage        64.60%   65.17%   +0.57%     
===============================================
  Files              279      279              
  Lines            53302    53302              
===============================================
+ Hits             34434    34738     +304     
+ Misses           18868    18564     -304     
Flag Coverage Δ
addons 90.82% <ø> (ø)
netcore 68.30% <ø> (+0.78%) ⬆️
netfx 69.14% <ø> (-0.04%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 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.

samsharma2700
samsharma2700 previously approved these changes Jan 14, 2026
Copilot AI review requested due to automatic review settings January 14, 2026 19:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml
Comment thread eng/pipelines/dotnet-sqlclient-ci-core.yml
@apoorvdeshmukh
Copy link
Copy Markdown
Contributor Author

See my comment on #3889. As is I believe this blocks all code cov uploading.

This will be resolved post hotfix release.

@cheenamalhotra cheenamalhotra merged commit 3730893 into release/6.1 Jan 14, 2026
265 checks passed
@cheenamalhotra cheenamalhotra deleted the dev/ad/codeCovFix61 branch January 14, 2026 21:03
@github-project-automation github-project-automation Bot moved this from In progress to Done in SqlClient Board Jan 14, 2026
@apoorvdeshmukh apoorvdeshmukh added this to the 6.1.4 milestone Jan 15, 2026
@apoorvdeshmukh apoorvdeshmukh added the Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems. label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants