Skip to content

Merge latest Library.Template microbuild updates#375

Merged
AArnott merged 39 commits into
mainfrom
dev/andarno/libtemplateUpdate
Jul 8, 2026
Merged

Merge latest Library.Template microbuild updates#375
AArnott merged 39 commits into
mainfrom
dev/andarno/libtemplateUpdate

Conversation

@AArnott

@AArnott AArnott commented Jul 7, 2026

Copy link
Copy Markdown
Member

This syncs vs-validation with the latest Library.Template microbuild changes so the repo picks up the current shared workflow, pipeline, and tooling updates.

It brings in the template changes across GitHub Actions, Azure Pipelines, and helper scripts, and updates the shared package/tooling versions in Directory.Packages.props and .config/dotnet-tools.json. The only merge conflict was in Directory.Packages.props; that was resolved by keeping this repo's Roslyn and code-fix testing version properties while taking the incoming template updates for Microsoft.Testing.Platform 2.3.0, telemetry, code coverage 18.8.0, and Nerdbank.GitVersioning 3.10.85.

Please take a close look at the CI and release pipeline changes, since most of this PR is template-driven infrastructure churn rather than product code changes.

pieandcakes and others added 28 commits October 13, 2025 15:32
There is sometimes an issue with the clone/create PR step. When that
happens, the stage isn't requeuable because the VSTS upload step fails
when its run again because the payload is already there. This update
allows the step to clone the VS repo and create the PR to be rerun due
to issues independent of the Upload step.
Also remove a task that was duplicated (I think) unnecessarily.
Split the VS PR stage separately from the upload steps
Use explicit UTF-8 appends for GitHub Actions environment files so Linux runners don't hit an invalid empty-name env entry after build. This updates both the general env propagation helper and the pipeline variable definition script.

Co-authored-by: 🤖 Copilot <no-reply@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Improve and share github actions env var setting function
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>
Resolve the Directory.Packages.props conflict by preserving the repo-specific Roslyn and code-fix testing package version properties while taking the incoming template updates for Microsoft.Testing.Platform 2.3.0, code coverage 18.8.0, telemetry, and Nerdbank.GitVersioning 3.10.85. Also include the incoming workflow, pipeline, and tooling updates from the template merge.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 7, 2026 22: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

Synchronizes vs-validation with the latest Library.Template microbuild infrastructure updates, primarily refreshing CI/release pipelines, shared workflow tooling, and centrally-managed versions.

Changes:

  • Introduces a shared PowerShell helper for setting GitHub Actions environment variables and updates existing scripts to use it.
  • Updates centralized package/tooling versions (e.g., Microsoft.Testing.Platform, code coverage, Nerdbank.GitVersioning, PowerShell).
  • Refreshes Azure Pipelines and GitHub Actions workflows (e.g., Ubuntu 24.04 images, pipeline stage/job reshaping, checkout action update).

Reviewed changes

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

Show a summary per file
File Description
tools/variables/_define.ps1 Uses shared GitHub Actions env var helper for safer variable propagation.
tools/Set-EnvVars.ps1 Switches GitHub Actions env var emission to shared helper and minor formatting.
tools/GitHubActions.ps1 Adds helper to write environment variables to $GITHUB_ENV using multiline-safe format.
Directory.Packages.props Updates centrally-managed package versions aligned with Library.Template.
.config/dotnet-tools.json Updates pinned dotnet tool versions (PowerShell, nbgv, dotnet-coverage).
azure-pipelines/vs-validation.yml Adds template settings, updates Linux image, and restructures insertion into upload + insertion jobs.
azure-pipelines/vs-insertion.yml Adds template settings and restructures insertion into upload + insert jobs.
azure-pipelines/unofficial.yml Adds template settings and updates Linux image demand to Ubuntu 24.04.
azure-pipelines/release.yml Adds template settings and updates Linux image demand to Ubuntu 24.04.
azure-pipelines/prepare-insertion-stages.yml Updates Linux image demand to Ubuntu 24.04.
azure-pipelines/official.yml Adds template settings and updates Linux image demand to Ubuntu 24.04.
azure-pipelines/libtemplate-update.yml Adds template settings and updates Linux image demand to Ubuntu 24.04.
azure-pipelines/archive-sourcecode.yml Adds template settings and updates Linux image demand to Ubuntu 24.04.
.github/workflows/libtemplate-update.yml Updates actions/checkout pin to v7.0.0 SHA.
.github/workflows/docs.yml Updates actions/checkout pin to v7.0.0 SHA.
.github/workflows/docs_validate.yml Fixes YAML indentation and updates actions/checkout pin; uses ubuntu-24.04 runner.
.github/workflows/copilot-setup-steps.yml Updates actions/checkout pin to v7.0.0 SHA.
.github/skills/bundle-dependency-prs/SKILL.md Updates guidance text (includes a small typo fix needed).

Comment thread .github/skills/bundle-dependency-prs/SKILL.md Outdated
Comment thread tools/GitHubActions.ps1
@AArnott AArnott enabled auto-merge July 7, 2026 22:26
Copilot AI review requested due to automatic review settings July 7, 2026 22:52

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

Comment thread azure-pipelines/vs-validation.yml
Comment thread azure-pipelines/vs-insertion.yml
Comment thread tools/GitHubActions.ps1
@AArnott AArnott merged commit b2bdc0c into main Jul 8, 2026
10 checks passed
@AArnott AArnott deleted the dev/andarno/libtemplateUpdate branch July 8, 2026 00:08
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