Merge latest Library.Template#1614
Merged
Merged
Conversation
AArnott
commented
Jul 8, 2026
Member
- Fix typo
- Use preferred pattern for appending to PATH in GitHub Actions
- Avoid loading GitHubActions.ps1 on Azure Pipelines
- Validate Path parameter in Add-GitHubActionsEnvVariable
- Fix 1ES PT nuget push
- Update dependency dotnet-coverage to v18.9.0 (536)
- Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.9.0 (537)
Use preferred pattern for appending to PATH in GitHub Actions
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (537) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…emplate Specifically, this merges [3749d32 from that repo](AArnott/Library.Template@3749d32).
There was a problem hiding this comment.
Pull request overview
This PR merges the latest Library.Template updates into vs-threading, primarily improving CI scripting behavior across GitHub Actions and Azure Pipelines, and bumping code-coverage-related dependencies.
Changes:
- Updated GitHub Actions PATH handling to use
$GITHUB_PATH(via a new helper) instead of overwritingPATHthrough$GITHUB_ENV. - Avoided loading GitHubActions-specific helper functions in non-GitHub-Actions contexts for the variables definition script.
- Bumped code coverage tool/package versions and adjusted Azure Pipelines agent image selection for NuGet push.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tools/variables/_define.ps1 | Only loads GitHub Actions helpers when running under GitHub Actions. |
| tools/Set-EnvVars.ps1 | Switches PATH propagation in GitHub Actions to use $GITHUB_PATH via Add-GitHubActionsPath. |
| tools/GitHubActions.ps1 | Adds validation for env file path and introduces Add-GitHubActionsPath helper. |
| Directory.Packages.props | Updates Microsoft.Testing.Extensions.CodeCoverage to 18.9.0. |
| azure-pipelines/release.yml | Pins the NuGet push job to Ubuntu 22.04 due to an external issue. |
| azure-pipelines/prepare-insertion-stages.yml | Pins the package push job to Ubuntu 22.04 due to an external issue. |
| .github/skills/bundle-dependency-prs/SKILL.md | Fixes a typo in documentation (“authord” → “authored”). |
| .config/dotnet-tools.json | Updates dotnet-coverage tool version to 18.9.0. |
This reverts commit b5153f6. The dependency isn't allowed per CFS policy yet.
…emplate Specifically, this merges [e6e3c19 from that repo](AArnott/Library.Template@e6e3c19).
…emplate Specifically, this merges [65a9b52 from that repo](AArnott/Library.Template@65a9b52).
…emplate Specifically, this merges [bd12df8 from that repo](AArnott/Library.Template@bd12df8).
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
tools/Set-EnvVars.ps1:91
- $CmdEnvScript appends a SET PATH line without a trailing CRLF. If $PrependPath contains more than one entry, the generated cmd script lines will run together and become invalid.
}
$CmdEnvScript += "SET PATH=$_$pathDelimiter%PATH%"
}
d8976e9 to
041558c
Compare
SylviaLe191
approved these changes
Jul 8, 2026
AArnott
pushed a commit
to AArnott/Nerdbank.MessagePack
that referenced
this pull request
Jul 8, 2026
Apply the same fix as microsoft/vs-threading#1614 by using a net472-specific app config for the analyzer tests and adding a binding redirect for System.Text.Encodings.Web. This avoids the Windows CI assembly load failure when the analyzer test harness restores reference-assembly packages. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
AArnott
added a commit
to AArnott/Nerdbank.MessagePack
that referenced
this pull request
Jul 8, 2026
* Update Dockerfile and global.json updates (532) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update Microsoft Testing Platform to 2.3.0 * Pin Microsoft.Testing.Extensions.Telemetry to the common MTP version * Use preferred pattern for appending to PATH in GitHub Actions * Avoid loading GitHubActions.ps1 on Azure Pipelines * Validate Path parameter in Add-GitHubActionsEnvVariable * Update dependency dotnet-coverage to v18.9.0 (536) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.9.0 (537) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Prevent empty paths from being added to the PATH * Fix up error messages * Avoid importing GitHubActions.ps1 outside GitHub Actions * Update script synopsis * Clarify what looks like bad wording * Keep runtime package pins unchanged Restore the non-test System.IO.Pipelines and System.Text.Json package pins in Directory.Packages.props so the shared runtime dependencies continue following the intent of the existing code comment. Keep the newer 10.0.8 versions scoped to test projects and benchmarks, where the updated test infrastructure requires them. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Use runtime STJ version in analyzer references Align the net472 analyzer test reference assemblies with the non-test System.Text.Json package pin instead of the test-only override. This avoids the clean-runner assembly load failure in NuGet.Protocol when the analyzer tests resolve reference packages on Windows. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Add net472 config for analyzer tests Apply the same fix as microsoft/vs-threading#1614 by using a net472-specific app config for the analyzer tests and adding a binding redirect for System.Text.Encodings.Web. This avoids the Windows CI assembly load failure when the analyzer test harness restores reference-assembly packages. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 🤖 Copilot <no-reply@github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.