Skip to content

Port #3828 to release/6.0#3889

Closed
samsharma2700 wants to merge 3 commits into
release/6.0from
dev/samsharma2700/codecov/6.0
Closed

Port #3828 to release/6.0#3889
samsharma2700 wants to merge 3 commits into
release/6.0from
dev/samsharma2700/codecov/6.0

Conversation

@samsharma2700
Copy link
Copy Markdown
Contributor

Description

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

Issues

41643

Copilot AI review requested due to automatic review settings January 13, 2026 21:58
@samsharma2700 samsharma2700 requested a review from a team as a code owner January 13, 2026 21:58
@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 PR #3828 to the release/6.0 branch to fix CodeCoverage upload issues in Azure DevOps pipelines. The changes introduce a mechanism to conditionally control whether code coverage results are uploaded to CodeCov based on a pipeline variable.

Changes:

  • Removes the default value for the upload parameter in the code coverage job template
  • Adds explicit configuration of the upload parameter using a pipeline variable ci_var_uploadTestResult with comprehensive documentation comments

Reviewed changes

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

File Description
eng/pipelines/dotnet-sqlclient-ci-core.yml Adds the upload parameter configuration using a pipeline variable with detailed comments explaining how to set it up in Azure DevOps UI
eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml Removes the default value for the upload parameter, requiring callers to explicitly specify whether to upload to CodeCov

Comment thread eng/pipelines/dotnet-sqlclient-ci-core.yml Outdated
@mdaigle
Copy link
Copy Markdown
Contributor

mdaigle commented Jan 13, 2026

See the changes I made to code coverage upload in #3856. The pipeline variable is not available at compile time and so it not compatible with the ${{}} reference style. It's possible to do it with a dynamically evaluated reference, but I think the parameter approach (what's included in my PR) is simple and allows us to adjust the value when manually invoking a pipeline.

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 comment above :)

@github-project-automation github-project-automation Bot moved this from To triage to In progress in SqlClient Board Jan 14, 2026
benrr101
benrr101 previously approved these changes Jan 14, 2026
Copy link
Copy Markdown
Contributor

@benrr101 benrr101 left a comment

Choose a reason for hiding this comment

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

As long as @mdaigle is happy, I'm happy!

mdaigle
mdaigle previously approved these changes Jan 14, 2026
paulmedynski
paulmedynski previously approved these changes Jan 14, 2026
apoorvdeshmukh
apoorvdeshmukh previously approved these changes Jan 14, 2026
Copilot AI review requested due to automatic review settings January 14, 2026 20:33
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 no new comments.

@samsharma2700
Copy link
Copy Markdown
Contributor Author

Based on internal discussion abandoning this PR in favor of #3894

@github-project-automation github-project-automation Bot moved this from In progress to Done in SqlClient Board Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants