Skip to content

Merge latest Library.Template#1623

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

Merge latest Library.Template#1623
AArnott merged 15 commits into
mainfrom
dev/andarno/libtemplateUpdate

Conversation

@AArnott

@AArnott AArnott commented Jul 15, 2026

Copy link
Copy Markdown
Member

AArnott and others added 15 commits July 8, 2026 09:46
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This should avoid the failures we're seeing in azure pipelines from github throttling unauthenticated requests.
Cache the dotnet-install scripts locally
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This allows other AI providers (e.g. Grok Build) to find the AI instruction and skill files.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update mcr.microsoft.com/dotnet/sdk Docker tag to v10.0.302

* Bump to .NET SDK 10.0.302

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrew Arnott <andrew.arnott@microsoft.com>
Copilot AI review requested due to automatic review settings July 15, 2026 18:50

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 merges the latest Library.Template changes into vs-threading, primarily updating SDK/tooling/dependency versions and switching the repo’s .NET SDK install flow to use locally cached dotnet-install scripts rather than downloading them on demand.

Changes:

  • Cache dotnet-install.ps1 / dotnet-install.sh in tools/ and add an updater script to refresh them from dotnet/install-scripts.
  • Bump the repo .NET SDK (global.json) and update key dependencies/tools (e.g., Microsoft Testing Platform, Nerdbank.GitVersioning, dotnet-coverage).
  • Add agent/skill documentation files used for future template merges and dependency PR workflows.

Reviewed changes

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

Show a summary per file
File Description
tools/Update-DotNetInstallScript.ps1 New script to refresh cached dotnet-install scripts from upstream.
tools/Install-DotNetSdk.ps1 Adjusted to use cached dotnet-install scripts from tools/.
tools/GitHubActions.ps1 Clarifies exception messages for missing GITHUB_ENV / GITHUB_PATH.
tools/dotnet-install.sh Vendored dotnet-install bash script into repo for local caching.
tools/dotnet-install.ps1 Vendored dotnet-install PowerShell script into repo for local caching.
global.json Bumps required .NET SDK version to 10.0.302.
Directory.Packages.props Updates central versions (e.g., MTP 2.3.2, Roslyn analyzers alignment, diagnostics runtime).
.config/dotnet-tools.json Updates tool versions (e.g., dotnet-coverage, nbgv).
AGENTS.md Adds repo-specific Copilot/agent guidance documentation.
.agents/skills/update-library-template/template-release-notes.md Adds template merge notes for future updates.
.agents/skills/update-library-template/SKILL.md Adds skill instructions for merging from Library.Template.
.agents/skills/bundle-dependency-prs/SKILL.md Adds skill instructions for bundling/fixing dependency PRs.
Comments suppressed due to low confidence (1)

tools/Install-DotNetSdk.ps1:301

  • On macOS/Linux this script invokes tools/dotnet-install.sh via PowerShell's call operator (&). That requires the file to be executable, but the new caching flow (Update-DotNetInstallScript.ps1) can overwrite dotnet-install.sh without +x, causing "Permission denied" at runtime. Invoke the .sh script via bash to avoid relying on file permissions.
# In case the script we invoke is in a directory with spaces, wrap it with single quotes.
# In case the path includes single quotes, escape them.
$DotNetInstallScriptPathExpression = $DotNetInstallScriptPath.Replace("'", "''")
$DotNetInstallScriptPathExpression = "& '$DotNetInstallScriptPathExpression'"

Comment thread tools/Update-DotNetInstallScript.ps1
Comment thread tools/dotnet-install.ps1
Comment thread tools/dotnet-install.ps1
@AArnott AArnott enabled auto-merge July 15, 2026 19:06
@AArnott AArnott merged commit 0e777bd into main Jul 15, 2026
10 of 11 checks passed
@AArnott AArnott deleted the dev/andarno/libtemplateUpdate branch July 15, 2026 20:14
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.

3 participants