Skip to content

Update from Library.Template - #390

Merged
Andrew Arnott (AArnott) merged 19 commits into
mainfrom
dev/andarno/libtemplateUpdate-20260812
Aug 13, 2026
Merged

Update from Library.Template#390
Andrew Arnott (AArnott) merged 19 commits into
mainfrom
dev/andarno/libtemplateUpdate-20260812

Conversation

@AArnott

Copy link
Copy Markdown
Member

Updates from Library.Template microbuild commit 2d53806.

Validation could not run because this environment does not have the required .NET SDK 10.0.400 installed.

renovate Bot and others added 11 commits August 2, 2026 08:09
… (546)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Migrate coverage uploads to the supported Codecov CLI, verify its signed download, and propagate uploader failures to CI.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Adds a -NoCoverage switch to dotnet-test-cloud.ps1 for both the MTP and
VSTest code paths. Code coverage instrumentation can destabilize a test
run, and when it does there is currently no way for a repo to keep running
tests on the affected leg without hand-editing this script.

Also collect a crash report alongside the crash dump, and restrict the dump
to the heap. On Linux the native crash report is often the only way to
identify the faulting thread and instruction when a test host dies of an
access violation, and a heap dump is considerably smaller than the default
full dump while still containing everything needed to analyze managed state.

Finally, stop discarding crash dumps that have no TRX attachment copy. The
previous filter kept a .dmp only when it appeared under a TRX 'In'
directory, so on GitHub Actions -- which does not request a TRX report --
every crash dump was dropped from the uploaded artifacts, making test host
crashes impossible to diagnose. The dumps are now de-duplicated by file
name instead, which still avoids uploading the same dump twice on Azure
Pipelines.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add -NoCoverage switch and improve crash diagnostics
Merges Library.Template commit 2d53806.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 12, 2026 15:06
@codecov-commenter

Codecov Comments Bot (codecov-commenter) commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.88%. Comparing base (fb5e81b) to head (a8230a8).
⚠️ Report is 123 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   77.88%   77.88%           
=======================================
  Files          14       14           
  Lines         859      859           
  Branches      224      224           
=======================================
  Hits          669      669           
  Misses        126      126           
  Partials       64       64           
Flag Coverage Δ
Linux 79.18% <ø> (ø)
Windows 77.88% <ø> (ø)

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.

Copilot AI left a comment

Copy link
Copy Markdown

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 updates repository tooling/scripts to align with the latest Library.Template microbuild, including a .NET SDK bump and improvements to test/coverage and artifact handling.

Changes:

  • Bump required .NET SDK in global.json to 10.0.400.
  • Switch Codecov integration to the newer Codecov CLI flow and harden signature verification behavior.
  • Add an option to skip coverage collection during cloud-style test runs and improve dump/crash artifact selection to avoid duplicate uploads.

Reviewed changes

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

Show a summary per file
File Description
tools/publish-CodeCov.ps1 Uses the Codecov CLI subcommand/args for uploading cobertura reports and fails fast on CLI errors.
tools/Install-DotNetSdk.ps1 Adds a forced refresh path for cached release metadata when the requested version isn’t found.
tools/Get-CodeCovTool.ps1 Updates download endpoints/paths for Codecov CLI and adds exit-code checks for gpg verification steps.
tools/dotnet-test-cloud.ps1 Adds -NoCoverage switch and enhances crashdump/crash-report collection in MTP runs.
tools/artifacts/testResults.ps1 Filters dump artifacts to avoid uploading duplicates when TRX attachments already include them.
global.json Updates SDK version to 10.0.400.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tools/Get-CodeCovTool.ps1
* Correct MTP -- forwarding with portable solution discovery.
* Increase effective hang timeout to five minutes.
* Batch all Codecov reports into one CLI invocation.
* Preserve no-op behavior when no coverage exists.
Use ps1 splatting and exit instead of return
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…0 (#553)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 13, 2026 16:05

Copilot AI left a comment

Copy link
Copy Markdown

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 7 out of 7 changed files in this pull request and generated no new comments.

Copilot AI commented Aug 13, 2026

Copy link
Copy Markdown

One or more custom setup steps configured for this repository failed during this Copilot code review run:

⚙ Install prerequisites

Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.

Note

You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.

Copilot AI review requested due to automatic review settings August 13, 2026 16:10

Copilot AI left a comment

Copy link
Copy Markdown

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 7 out of 7 changed files in this pull request and generated no new comments.

Suppressed comments (1)

tools/Get-CodeCovTool.ps1:14

  • The script header/synopsis still describes downloading the Codecov “uploader tool”, but this change switches the download URLs to the Codecov CLI endpoint (https://cli.codecov.io/...). Updating the synopsis avoids confusion when troubleshooting download/verification failures.
if ($IsMacOS) {
    $codeCovUrl = "https://cli.codecov.io/latest/macos/codecov"
    $toolName = 'codecov'

@AArnott
Andrew Arnott (AArnott) merged commit 9fbc2a6 into main Aug 13, 2026
10 checks passed
@AArnott
Andrew Arnott (AArnott) deleted the dev/andarno/libtemplateUpdate-20260812 branch August 13, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants