Skip to content

Reconcile MTP vendored source drift - #56252

Merged
Evangelink merged 2 commits into
dotnet:mainfrom
Evangelink:dev/amauryleve/fix-mtp-vendoring
Sep 11, 2026
Merged

Evangelink merged 2 commits into
dotnet:mainfrom
Evangelink:dev/amauryleve/fix-mtp-vendoring

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Summary

  • synchronize retry metadata field IDs in the vendored MTP wire contract
  • port terminal result visibility, including the Minimal output preset and forwarded --show-test-results selection
  • color skipped counts in mixed-outcome summaries
  • add localized descriptions for known non-success MTP exit codes in run and discovery summaries
  • advance all reconciled vendored baselines to microsoft/testfx@45f54c96

Fixes #55694.
Fixes #55696.
Fixes #56039.
Fixes #56040.
Fixes #56041.
Fixes #56152.
Addresses #56104.

Validation

  • build.cmd /m:1
  • vendored manifest validation and live dry-run: 0 drifted, 0 errors
  • 55 focused dotnet.Tests cases covering reporter behavior, output parsing, and end-to-end crash summaries

Copilot AI lite review requested due to automatic review settings September 11, 2026 10:20
@Evangelink
Evangelink requested review from a team as code owners September 11, 2026 10:20
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The help snapshot is stale, and omitted --output must retain the Normal default before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Lite
Findings: 1 High severity · 1 Medium severity

New issues introduced by this change (2)
Severity Finding
High severity src/​Cli/​Microsoft.DotNet.Cli.Definitions/​Commands/​Test/​OutputOptions.cs — Promote the MTP help snapshot for the new output preset
Medium severity src/​Cli/​Microsoft.DotNet.Cli.Definitions/​Commands/​Test/​OutputOptions.cs — Preserve Normal as the implicit output default
What changed in this PR

Synchronizes vendored MTP contracts and terminal reporting with microsoft/testfx@45f54c96.

Changes:

  • Adds output visibility, skipped-count coloring, and exit-code descriptions.
  • Updates retry metadata IDs, localization, baselines, and focused tests.
File Summary
test/​dotnet.Tests/​CommandTests/​Test/​TestCommandParserTests.cs Tests output preset parsing.
test/​dotnet.Tests/​CommandTests/​Test/​TerminalTestReporterTests.cs Tests visibility, coloring, and exit summaries.
test/​dotnet.Tests/​CommandTests/​Test/​GivenDotnetTestBuildsAndRunsTests.cs Updates end-to-end exit-summary expectations.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​Commands/​Test/​OutputOptions.cs Adds Minimal; the help snapshot and omitted-output default require correction.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.zh-Hant.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.zh-Hans.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.tr.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.ru.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.pt-BR.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.pl.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.ko.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.ja.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.it.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.fr.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.es.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.de.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​xlf/​CliCommandStrings.cs.xlf Updates localized resources.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​TerminalTestReporterOptions.cs Adds result-visibility configuration.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​TerminalTestReporter.cs Applies visibility, coloring, and exit-code descriptions.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​MicrosoftTestingPlatformTestCommand.cs Maps output presets and forwards visibility options.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​IPC/​ObjectFieldIds.cs Adds retry metadata field IDs.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​ExitCode.cs Defines known MTP exit codes.
src/​Cli/​dotnet/​Commands/​CliCommandStrings.resx Adds exit-code descriptions.
eng/​vendored-files.json Advances vendored baselines.

@Evangelink
Evangelink enabled auto-merge (squash) September 11, 2026 10:40
@Evangelink
Evangelink merged commit 9892831 into dotnet:main Sep 11, 2026
31 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 12, 2026

This branch had an error being deployed

1 failed deployment
copilot-pat-pool — 0cd834ed Deployed Sep 11, 2026 by Evangelink via pre_activation #4387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants