[deps]: Update Microsoft.NET.Test.Sdk to 17.14.1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| Microsoft.NET.Test.Sdk | 17.12.0 -> 17.14.1 |
||||
| Microsoft.NET.Test.Sdk | 17.8.0 -> 17.14.1 |
Release Notes
microsoft/vstest (Microsoft.NET.Test.Sdk)
v17.14.1
What's Changed
- Error on unsupported target frameworks to prevent silently not running tests by @nohwnd in https://github.com/microsoft/vstest/pull/15072 and https://github.com/microsoft/vstest/pull/15078
- Revert writing additional properties to TRX by @nohwnd in https://github.com/microsoft/vstest/commit/47eb51b15ad8ca4a84ad7be5881fcd1713a0f68a
Full Changelog: https://github.com/microsoft/vstest/compare/v17.14.0...v17.14.1
v17.14.0
What's Changed
.NET versions updated
This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does NOT prevent you from:
- Updating to the latest VS, and running tests from net6.0 test projects.
- Updating to the latest .NET SDK, and running tests from net6.0 test projects.
It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.
- Drop unsupported frameworks by @nohwnd in https://github.com/microsoft/vstest/pull/10565
Changes
- Adding Process Query Flag For UWP .NET 9 Support by @adstep in https://github.com/microsoft/vstest/pull/15003
- Fix builds on WinUI and UWP .NET 9 projects by @Sergio0694 in https://github.com/microsoft/vstest/pull/15004
- don't report communication error on discovery abort by @nohwnd in https://github.com/microsoft/vstest/pull/14992
- Add dump minitool to vsix by @nohwnd in https://github.com/microsoft/vstest/pull/14707
- Make test runners long-path aware (#5179) by @peetw in https://github.com/microsoft/vstest/pull/15014
- Fix trace in DataCollectionRequestSender.cs by @stan-sz in https://github.com/microsoft/vstest/pull/15025
- Fix/readme grammar parallelism by @dellch in https://github.com/microsoft/vstest/pull/15030
- Add binding redirects by @nohwnd in https://github.com/microsoft/vstest/pull/15041
- Write props of tests into trx by @nohwnd in https://github.com/microsoft/vstest/pull/14905
Internal version updates and fixes
- Update io.redist by @nohwnd in https://github.com/microsoft/vstest/pull/13872
- Use preview image for public build by @nohwnd in https://github.com/microsoft/vstest/pull/13888
- Remove xcopy-msbuild by @nohwnd in https://github.com/microsoft/vstest/pull/14138
- Move to macos14 by @nohwnd in https://github.com/microsoft/vstest/pull/14137
- Update diagnose.md by @nohwnd in https://github.com/microsoft/vstest/pull/14776
- hash with sha2 for mutex lock by @nohwnd in https://github.com/microsoft/vstest/pull/14777
- Update test projects for vmr by @nohwnd in https://github.com/microsoft/vstest/pull/14894
- 17.14 branding by @nohwnd in https://github.com/microsoft/vstest/pull/14903
- Update filter.md for NUnit by @OsirisTerje in https://github.com/microsoft/vstest/pull/14987
- Flag netstandard1.x dependencies in source-build by @ViktorHofer in https://github.com/microsoft/vstest/pull/14986
- Use VS dependencies versions from release VS to have archived symbols by @nohwnd in https://github.com/microsoft/vstest/pull/14991
- Remove extra ; by @nohwnd in https://github.com/microsoft/vstest/pull/14995
- Use dependencymodel 6.0.2 by @nohwnd in https://github.com/microsoft/vstest/pull/14996
- Make Testhost packable only on Windows by @mmitche in https://github.com/microsoft/vstest/pull/15001
- Add system text json to vsix by @nohwnd in https://github.com/microsoft/vstest/pull/15034
- Add more files to vsix by @nohwnd in https://github.com/microsoft/vstest/pull/15038
- Remove unnecessary CA2022 suppressions by @Winniexu01 in https://github.com/microsoft/vstest/pull/15035
- Update package project url by @mmitche in https://github.com/microsoft/vstest/pull/15040
New Contributors
- @OsirisTerje made their first contribution in https://github.com/microsoft/vstest/pull/14987
- @adstep made their first contribution in https://github.com/microsoft/vstest/pull/15003
- @Sergio0694 made their first contribution in https://github.com/microsoft/vstest/pull/15004
- @peetw made their first contribution in https://github.com/microsoft/vstest/pull/15014
- @dellch made their first contribution in https://github.com/microsoft/vstest/pull/15030
- @Winniexu01 made their first contribution in https://github.com/microsoft/vstest/pull/15035
Full Changelog: https://github.com/microsoft/vstest/compare/v17.13.0...v17.14.0
v17.13.0
What's Changed
-
Add letter number among valid identifiers in class name by @nohwnd in https://github.com/microsoft/vstest/pull/13868
-
Fix formatting in Runner by @mthalman in https://github.com/microsoft/vstest/pull/13871
-
Downgrade xunit skip warning to info by @nohwnd in https://github.com/microsoft/vstest/pull/10381
-
Add msdia for arm64 into nuget by @nohwnd in https://github.com/microsoft/vstest/pull/10382
-
Enable native debugging for vstest.console by @ocitrev in https://github.com/microsoft/vstest/pull/10401
-
Fix RFCs links by @Youssef1313 in https://github.com/microsoft/vstest/pull/10424
-
Convert to auto property by @nohwnd in https://github.com/microsoft/vstest/pull/10365
-
Update Versions.props by @nohwnd in https://github.com/microsoft/vstest/pull/10378
-
Enable TSA by @jakubch1 in https://github.com/microsoft/vstest/pull/10385
-
Arm64 dia by @nohwnd in https://github.com/microsoft/vstest/pull/10390
-
Update source-build team references by @MichaelSimons in https://github.com/microsoft/vstest/pull/10388
-
Exclude .signature.p7s from nupkg file count by @ellahathaway in https://github.com/microsoft/vstest/pull/10418
-
Set NetCurrent so that it doesn't roll forward automatically by @ViktorHofer in https://github.com/microsoft/vstest/pull/10622
New Contributors
- @ocitrev made their first contribution in https://github.com/microsoft/vstest/pull/10401
- @Youssef1313 made their first contribution in https://github.com/microsoft/vstest/pull/10424
Full Changelog: https://github.com/microsoft/vstest/compare/v17.12.0...v17.13.0
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Internal tracking:
- ID: PM-20786
- Link: https://bitwarden.atlassian.net/browse/PM-20786
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 53.10%. Comparing base (75d8250) to head (b2333c8).
Additional details and impacted files
@@ Coverage Diff @@
## main #5738 +/- ##
=======================================
Coverage 53.10% 53.10%
=======================================
Files 1913 1913
Lines 85280 85280
Branches 7635 7635
=======================================
Hits 45289 45289
Misses 38232 38232
Partials 1759 1759
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Claude finished @renovate[bot]'s task —— View job
Code Review Complete
Summary
This PR updates Microsoft.NET.Test.Sdk from 17.8.0 and 17.12.0 to 17.14.1 in two test projects. However, this creates version inconsistency across the solution, as most test projects use a centrally managed version.
Critical Issues
Finding 1: ❌ Inconsistent version management - two projects bypass central version control
The two changed files hardcode version 17.14.1, while Directory.Build.props:19 defines MicrosoftNetTestSdkVersion=17.8.0 that 20 other test projects use. This creates maintenance burden and version drift.
Affected projects
Hardcoded versions (2 projects):
-
test/Core.IntegrationTest/Core.IntegrationTest.csproj:15 -
test/Infrastructure.Dapper.Test/Infrastructure.Dapper.Test.csproj:11
Central version (20 projects):
All other test projects reference $(MicrosoftNetTestSdkVersion) from Directory.Build.props
Finding 2: ⚠️ Missing breaking change assessment for v17.14.0
Release notes indicate v17.14.0 dropped support for end-of-life frameworks (net6.0) and now targets net8/net9. While both changed projects target net8.0, the PR description lacks assessment of compatibility implications.
Release notes excerpt
All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer.
Both projects already target net8.0, so this change is compatible. However, this should be explicitly validated in the PR description.
Finding 3: 💭 Why were only these two projects updated?
The PR updates 2 of 22 test projects. Is there a specific reason these two deviated from the central version, or should all projects be updated together?
Suggested Improvements
Finding 4: ♻️ Should update central version instead of individual projects
To maintain version consistency and simplify dependency management, consider updating MicrosoftNetTestSdkVersion in Directory.Build.props to 17.14.1, which would automatically propagate to all 20 projects using the variable.
Recommended approach
- Update Directory.Build.props:19 from
17.8.0to17.14.1 - Change both modified .csproj files to use
Version="$(MicrosoftNetTestSdkVersion)"instead of hardcoded17.14.1 - This ensures all 22 test projects use the same version
If these two projects need a different version for specific reasons, document why in comments.
Good Practices Observed
- Both projects already target net8.0, making them compatible with the new test SDK version
PR Title and Description Quality
Finding 5: 💭 PR description lacks compatibility validation
While the PR includes comprehensive release notes, it doesn't explicitly validate that the breaking changes in v17.14.0 don't affect this codebase. Adding a brief compatibility statement would improve confidence in the update.
Action Items
- Address version inconsistency (Finding 1) - either update central version or document why these projects differ
- Validate and document compatibility with v17.14.0 breaking changes (Finding 2)
- Clarify why only 2 of 22 projects were updated (Finding 3)
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
Checkmarx One – Scan Summary & Details – 22d40363-ad07-4863-8b5b-36fcbf00884e
Great job! No new security vulnerabilities introduced in this pull request
Superseded by https://github.com/bitwarden/server/pull/6449
Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.