Skip to content

Merge latest Library.Template#279

Merged
AArnott merged 116 commits into
mainfrom
dev/andarno/libtemplateUpdate
Mar 6, 2026
Merged

Merge latest Library.Template#279
AArnott merged 116 commits into
mainfrom
dev/andarno/libtemplateUpdate

Conversation

@AArnott

@AArnott AArnott commented Feb 23, 2026

Copy link
Copy Markdown
Member
  • Drop auto-insertion tag handling
  • Update actions/checkout digest to 93cb6ef
  • Replace hard-coded codecov_token with secrets/variables
  • Update actions/checkout action to v6 (443)
  • Use official URLs in Install-DotNetSdk.ps1
  • Update dependency xunit.v3 to 3.2.1 (445)
  • Switch out our own OptProf profiling pipeline for the VS one
  • Merge pull request 447 to Build on newer agents
  • Update actions/checkout digest to 8e8c483 (448)
  • Update actions/checkout digest
  • Build on VS2026 agents
  • Better pinning of GitHub Actions
  • Update actions/checkout action to v6.0.1 (449)
  • Exclude vs-insertion-script.ps1 from signing requirement
  • Update actions/deploy-pages action to v4.0.5 (450)
  • Skip SBOM generation for the vs-insertion pipeline
  • Remove stray backtick from README
  • Update NuGet/login action to v1.1.0 (451)
  • Remove vs-threading specific change
  • Remove stale comment
  • Update actions/checkout action to v6.0.1
  • Fix alignment of sbom parameter
  • Fix template expansion
  • Opt into Microsoft Testing Platform (MTP) (#452)
  • Push to nuget.org before pushing to github release
  • Update to MTP v2 (#455)
  • Update all MTP related packages at once (457)
  • Fix test result publishing to AzDO (458)
  • Update .NET SDK to v10.0.101 (#459)
  • Drop package dependencies that MTP does not require
  • Fix MTP test failure for MTP-incompatible projects under the test folder
  • Fix testing regression from last commit
  • Adjust how we use IsTestProject
  • Expand applicability of extra args in dotnet-test-cloud.ps1
  • Update becheran/mlc action to v1.1.0 (461)
  • Update GitHub Artifact Actions (462)
  • Update becheran/mlc action to v1.2.0 (463)
  • Preserve exit codes better and organize switches
  • Skip native binary PDB conversion
  • Fix case sensitivity in dotnet-test-cloud
  • Bump code coverage package/tool
  • Update becheran/mlc action to v1.2.0
  • Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.3.2
  • Update dependency dotnet-coverage to v18.3.2 (465)
  • Merge pull request 469 from AArnott/copilot/port-change-to-library-template
  • Fix copilot instructions regarding test project suffix
  • Update .NET SDK to v10.0.102 (471)
  • Fix FailsInCloudTest filter after MTPv2 migration
  • Update dependency xunit.v3.mtp-v2 to 3.2.2 (472)
  • Update actions/checkout action to v6.0.2 (#473)
  • Update Microsoft Testing Platform (475)
  • Update dependency dotnet-coverage to v18.4.1 (474)
  • Update mcr.microsoft.com/dotnet/sdk:10.0.102 Docker digest to 6ba533c (476)
  • Add Copilot prompt to automate Library.Template updates
  • Fix test filter
  • Update actions/checkout action to v6.0.2
  • Improve library.template merge AI prompt
  • Update Dockerfile and global.json updates to v10.0.103 (477)
  • Explain how to migrate sln to slnx
  • Update mcr.microsoft.com/dotnet/sdk:10.0.103 Docker digest to 0a506ab (478)
  • Update dependency nerdbank.dotnetrepotools to v1.1.1 (479)
  • Use forward slash in md files
  • Touch-up custom prompt
  • Update network isolation policy
  • Only disable NBGV_GitEngine when necessary

AArnott and others added 30 commits November 17, 2025 11:07
Now that official and unofficial pipelines are distinct, there's no real reason to avoid triggering an insertion with every official build.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The blob storage URLs will stop working, see dotnet/announcements#336
Use official URLs in Install-DotNetSdk.ps1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@AArnott AArnott enabled auto-merge February 23, 2026 22:58
renovate Bot and others added 16 commits February 24, 2026 13:39
… (480)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (484)

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

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

Updates this repository to the latest Library.Template, modernizing CI/CD, test infrastructure, and build tooling to align with current template practices.

Changes:

  • Migrates test infrastructure toward Microsoft.Testing.Platform (MTP v2) + xunit v3 and adjusts test/coverage artifact collection.
  • Updates Azure Pipelines and GitHub Actions agent pools, action pins, and related build/release/insertion workflows.
  • Refreshes tooling/dependencies (global.json SDK bump, dotnet tools, central package versions) and removes legacy OptProf/VSInsertionMetadata plumbing.

Reviewed changes

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

Show a summary per file
File Description
tools/variables/ProfilingInputsPropsName.ps1 New helper to compute OptProf profiling props filename for CI.
tools/dotnet-test-cloud.ps1 Updates test execution to support MTP/vstest split, logs, and exit code handling.
tools/artifacts/testResults.ps1 Adjusts repo root/test results pathing.
tools/artifacts/coverageResults.ps1 Updates coverage discovery to include MTP output locations and token substitution.
tools/artifacts/VSInsertion.ps1 Updates VS insertion artifact composition (adds insertion script + props artifact).
tools/Prepare-Legacy-Symbols.ps1 Skips legacy PDB conversion for native binaries.
tools/Install-DotNetSdk.ps1 Switches to official builds.dotnet.microsoft.com endpoints.
test/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.v3.Tests/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.v3.Tests.csproj Opts into MTP dotnet-test support and updates xunit v3 runner package reference.
test/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.Tests/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.Tests.csproj Adjusts MTP application setting for compatibility with mixed runners.
test/Directory.Build.targets Adds MTP extensions and overrides MTP/VSTest interop behavior for .NET 10+.
test/Directory.Build.props Enables UseMicrosoftTestingPlatformRunner for test projects.
src/VSInsertionMetadata/VSInsertionMetadata.targets Removes legacy VS insertion metadata packaging targets.
src/VSInsertionMetadata/ProfilingInputs.props Removes legacy profiling inputs props template file.
src/VSInsertionMetadata/Library.VSInsertionMetadata.proj Removes legacy VS insertion metadata project.
src/OptProf.targets Updates OptProf scenario configuration (removes VS repo-specific container metadata).
global.json Updates .NET SDK version to 10.0.103.
azure-pipelines/vs-validation.yml Updates pool/policy settings and adjusts insertion custom script command.
azure-pipelines/vs-insertion.yml Drops auto-insertion tag behavior, updates pools/policies, and adds insertion custom script.
azure-pipelines/vs-insertion-script.ps1 New script to copy OptProf-related props into the VS repo insertion PR.
azure-pipelines/unofficial.yml Updates pools/policies and exclusions for signing validation.
azure-pipelines/schedule-only-steps.yml Removes auto-insertion tagging step.
azure-pipelines/release.yml Updates pools/policies for release pipeline.
azure-pipelines/prepare-insertion-stages.yml Updates pool for insertion prep stages.
azure-pipelines/official.yml Updates pools/policies and signing validation exclusions.
azure-pipelines/microbuild.before.yml Removes OptProf plugin setup path and simplifies component governance step conditions.
azure-pipelines/microbuild.after.yml Removes OptProf-specific artifact publishing steps.
azure-pipelines/libtemplate-update.yml Updates network isolation policy setting.
azure-pipelines/dotnet.yml Simplifies test invocation, updates Codecov token usage, and adjusts conditions.
azure-pipelines/build.yml Updates default agent images and switches OptProf configuration to VS-provided pipeline/props flow.
azure-pipelines/archive-sourcecode.yml Updates pools/policies for source archive pipeline.
azure-pipelines/OptProf_part2.yml Removes legacy OptProf part2 pipeline.
azure-pipelines/OptProf.yml Removes legacy OptProf pipeline.
azure-pipelines/Merge-CodeCoverage.ps1 Adds verbose logging during coverage merge normalization.
azure-pipelines/BuildStageVariables.yml Removes hard-coded Codecov token from variables.
Directory.Packages.props Updates central package versions and introduces MTP-related package/version properties.
.github/workflows/libtemplate-update.yml Updates actions/checkout pin to v6.0.2 digest.
.github/workflows/docs_validate.yml Updates actions/checkout pin and Markup Link Checker (mlc) pin.
.github/workflows/docs.yml Updates actions/checkout pin and deploy-pages version comment/pin.
.github/workflows/copilot-setup-steps.yml Updates actions/checkout pin to v6.0.2 digest.
.github/prompts/update-library-template.prompt.md Adds a reusable prompt describing how to merge Library.Template updates.
.github/prompts/template-release-notes.md Adds template release notes to guide future merges (e.g., sln→slnx guidance).
.github/copilot-instructions.md Updates Copilot guidance (Prime-ForCopilot + MTP/xunit v3 filtering guidance).
.github/actions/publish-artifacts/action.yaml Updates upload-artifact pins to v7.0.0 digest.
.github/Prime-ForCopilot.ps1 New helper to disable NBGV Git engine only when shallow-cloned.
.config/dotnet-tools.json Updates dotnet tool versions (dotnet-coverage, docfx, nerdbank.dotnetrepotools).

You can also share your feedback on Copilot code review. Take the survey.

Comment thread azure-pipelines/build.yml
Comment thread tools/variables/ProfilingInputsPropsName.ps1
Comment thread tools/artifacts/coverageResults.ps1
Comment thread tools/dotnet-test-cloud.ps1
@AArnott AArnott merged commit 21d5f42 into main Mar 6, 2026
13 checks passed
@AArnott AArnott deleted the dev/andarno/libtemplateUpdate branch March 6, 2026 18:36
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.

5 participants