Skip to content

Bump test deps#8110

Merged
Evangelink merged 2 commits into
mainfrom
dev/amauryleve/test-deps
May 11, 2026
Merged

Bump test deps#8110
Evangelink merged 2 commits into
mainfrom
dev/amauryleve/test-deps

Conversation

@Evangelink
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 11, 2026 13:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates centrally-managed NuGet package versions in Directory.Packages.props, primarily for test/integration-test dependencies across the repo.

Changes:

  • Bump NUnit from 4.5.0 to 4.6.0.
  • Upgrade Moq and MSBuild.StructuredLogger to newer versions.
  • Patch-bump Polly from 8.6.5 to 8.6.6.
Show a summary per file
File Description
Directory.Packages.props Updates central package versions for several test/infrastructure dependencies (NUnit, Moq, MSBuild.StructuredLogger, Polly).

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread Directory.Packages.props Outdated
Copy link
Copy Markdown
Member Author

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Workflow: Expert Code Reviewer
Date: 2026-05-11
Repository: microsoft/testfx

Key Findings

  • [Security / Minor] Directory.Packages.props line 78 retains <!-- Pinned to 4.18.4 for security --> while the Moq version is now 4.20.72. The original pin guarded against the SponsorLink data-collection feature introduced in Moq 4.20.0 — that feature was removed in a later 4.20.x release, so 4.20.72 is unaffected. The comment is now stale and should be removed or updated so future readers (and automated tooling) aren't misled.

Positive Observations

  • All four bumps (NUnit 4.5→4.6, Moq 4.18.4→4.20.72, MSBuild.StructuredLogger 2.3.113→2.3.178, Polly 8.6.5→8.6.6) are test/build-time-only dependencies — none affect the shipped NuGet surface or runtime behavior of MTP/MSTest.
  • No public API surface is touched.
  • No cross-TFM or threading concerns introduced.

Recommendations

  • Update or remove the stale security comment on the Moq entry (see inline comment).

Generated by Expert Code Reviewer

🧠 Reviewed by Expert Code Reviewer 🧠

Comment thread Directory.Packages.props
Copy link
Copy Markdown
Member Author

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Workflow: PR Nitpick Reviewer
Date: 2026-05-11
Repository: microsoft/testfx

Key Findings

  1. Outdated comment (Directory.Packages.props, line 78): The comment <!-- Pinned to 4.18.4 for security --> was not removed when Moq was bumped from 4.18.4 to 4.20.72. This is the only meaningful nitpick in an otherwise clean, routine dependency bump.

Positive Highlights

  • ✅ The missing end-of-file newline was fixed as part of this PR — good catch.
  • ✅ All version bumps are incremental and look reasonable (NUnit, Moq, MSBuild.StructuredLogger, Polly).

Overall Assessment

Very small, low-risk PR. Only one minor issue found.


🔍 Meticulously inspected by PR Nitpick Reviewer

🔍 Meticulously inspected by PR Nitpick Reviewer 🔍

Comment thread Directory.Packages.props
Comment thread Directory.Packages.props Outdated
Copilot AI review requested due to automatic review settings May 11, 2026 16:06
@Evangelink Evangelink merged commit 4880747 into main May 11, 2026
4 of 5 checks passed
@Evangelink Evangelink deleted the dev/amauryleve/test-deps branch May 11, 2026 16:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread Directory.Packages.props
<!-- Pinned to 4.18.4 for security -->
<PackageVersion Include="Moq" Version="4.18.4" />
<PackageVersion Include="MSBuild.StructuredLogger" Version="2.3.113" />
<!-- Previously pinned to 4.18.4 to avoid SponsorLink (4.20.0–4.20.x); resolved in 4.20.72 -->
Evangelink added a commit that referenced this pull request May 12, 2026
Co-authored-by: GitHub Copilot <copilot@github.com>
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.

2 participants