Skip to content

Reconcile MTP vendored sources and triage team notifications - #57003

Merged
Evangelink merged 4 commits into
dotnet:mainfrom
Evangelink:fix-triage-team-notifications
Nov 9, 2026
Merged

Evangelink merged 4 commits into
dotnet:mainfrom
Evangelink:fix-triage-team-notifications

Conversation

@Evangelink

@Evangelink Evangelink commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

The SDK's vendored Microsoft.Testing.Platform sources have drifted from upstream, including a changed default for captured test output. Reconcile all 16 open vendored-sync reports while preserving SDK-owned retry accounting, aggregate exit-code policies, and compatibility with older test applications.

  • Default captured stdout and stderr to failed tests only in every environment, including --output detailed. Independent per-module all/failed/none overrides honor effective arguments, response files, launch profiles, and configuration. --show-stdout all --show-stderr all restores the previous output behavior; capture, raw process output, result visibility, counts, and exit policies are unchanged.
  • Refresh all reported upstream baselines using verified blob identities at b3f3c980c480c5d97976d658ac367b1e246502be. Append tracking for the two new progress-state partials without reordering existing source indices or restructuring the SDK fork. Already-aligned coverage wire constants and SDK nint interop are retained.
  • Update SDK-owned platform-option help so older test-application metadata cannot advertise the wrong default. Regenerate localization catalogs and the help snapshot, and update contributor guidance.

This branch also contains the previously committed triage fix: explicitly allow CODEOWNERS team mentions and use the correct dotnet-testing team snapshot. The validated agentic-workflow upgrade is included in a separate commit, with its scope and validation described below.

Agentic workflow upgrade

Resolve the tooling upgrade notice by adopting gh-aw v1.0.1 and refreshing pinned actions, containers, and all ten generated runtime workflows. Preserve strict sandboxing and existing workflow safety boundaries while migrating the compiler's changed interfaces.

  • Move completion checks out of unsupported conclusion hooks, preserve visible incomplete-triage failures with isolated grading, and keep CI issue dispatch tied to the trusted creation-map artifact.
  • Queue frozen source interpretations through the normal native safe-output API. The agent forwards only the validated receipt; trusted code supplies the full payload without agent-side serialization or post-step safe-output rewrites. Confirmed repeats reuse the acknowledgement, and unconfirmed requests are not retried.
  • Preserve the 512 KiB submission budget and explicitly grant the reusable interpreter's caller the compiler-required pull-requests: read scope. Triage uses the SDK-mode proxy-aware fetch tool because native offline CLI web tools are unavailable.

Validation of this separate upgrade: all ten workflows compile with gh-aw v1.0.1; 74 focused regressions pass; and the shipping v0.5.0 gateway composed with the actual trusted client passes recording at the full 512 KiB limit, authentication, and receipt-rejection checks. Hosted interpreter execution was not run.

Validation of the reconciliation

  • Managed CLI and complete Debug SDK layout builds succeeded, including Native AOT publication.
  • Focused SDK regressions passed: 270 tests, zero failures or skips, including real packaged MTP output and invalid-option diagnostics.
  • Five actual Native AOT SDK muxer scenarios on Windows x64 confirmed native execution, independent stream policies, all three test outcomes/counts, and the expected exit code.
  • A buildable comparison with failed-only filtering disabled produced three intended assertion failures across 11 cases. Restored source passed all 270 tests again.
  • All 53 tracked upstream blobs match the verified snapshot; source indices, regenerated localization states, and affected documentation links were checked.

Issues

Fixes #56878
Fixes #56879
Fixes #56880
Fixes #56881
Fixes #56882
Fixes #56883
Fixes #56884
Fixes #56885
Fixes #56886
Fixes #56887
Fixes #56888
Fixes #56889
Fixes #56890
Fixes #56994
Fixes #56995
Fixes #56996

Fixes #56989

Evangelink and others added 2 commits November 5, 2026 12:18
Port failed-only captured stdout and stderr with independent per-module overrides. Reconcile all reported upstream baselines, append progress-state partial tracking, and synchronize help, localization, documentation, and regression coverage.

Co-authored-by: Copilot App <[email protected]>
@Evangelink
Evangelink requested review from a team, lbussell and mthalman as code owners November 9, 2026 12:43
Copilot AI balanced review requested due to automatic review settings November 9, 2026 12:43
@Evangelink
Evangelink enabled auto-merge (squash) November 9, 2026 12:43
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 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.

🔵 Needs a closer look

GitHub SAML enforcement blocked access to the pinned testfx snapshot, leaving the two new progress-state partials and refreshed upstream blob identities pending independent maintainer verification.

No open issues 🎉

What changed in this PR

This PR reconciles the SDK’s vendored Microsoft.Testing.Platform sources with upstream while preserving SDK-specific retry accounting and exit policies. It also updates issue-triage team notifications.

Changes:

  • Default captured stdout and stderr to failed tests only, including detailed output, with independent per-module overrides.
  • Refresh vendored baselines and partial-file tracking; update help, localization catalogs, documentation, and regression coverage.
  • Explicitly allow CODEOWNERS team mentions and correct the testing-team snapshot.
File Description
test/​dotnet.Tests/​CommandTests/​Test/​TestCommandParserTests.cs Tests stream-mode parsing and configuration precedence.
test/​dotnet.Tests/​CommandTests/​Test/​TerminalTestReporterTests.cs Tests output filtering, independent overrides, and module isolation.
test/​dotnet.Tests/​CommandTests/​Test/​snapshots/​MTPHelpSnapshotTests.VerifyMTPHelpOutput.verified.txt Updates expected help to the failed-only default.
test/​dotnet.Tests/​CommandTests/​Test/​GivenDotnetTestBuildsAndRunsTests.cs Adds end-to-end output and invalid-option regressions.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.zh-Hant.xlf Adds captured-output help entries to the Traditional Chinese catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.zh-Hans.xlf Adds captured-output help entries to the Simplified Chinese catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.tr.xlf Adds captured-output help entries to the Turkish catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.ru.xlf Adds captured-output help entries to the Russian catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.pt-BR.xlf Adds captured-output help entries to the Brazilian Portuguese catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.pl.xlf Adds captured-output help entries to the Polish catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.ko.xlf Adds captured-output help entries to the Korean catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.ja.xlf Adds captured-output help entries to the Japanese catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.it.xlf Adds captured-output help entries to the Italian catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.fr.xlf Adds captured-output help entries to the French catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.es.xlf Adds captured-output help entries to the Spanish catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.de.xlf Adds captured-output help entries to the German catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​xlf/​CommandDefinitionStrings.cs.xlf Adds captured-output help entries to the Czech catalog.
src/​Cli/​Microsoft.DotNet.Cli.Definitions/​CommandDefinitionStrings.resx Defines SDK-owned captured-output help text.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​TestProgressState.cs Stores per-module stdout and stderr modes.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​TerminalTestReporterOptions.cs Defines stream modes and failed-only defaults.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​TerminalTestReporter.cs Filters captured streams independently and omits empty headings.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​TargetFrameworkParser.cs Aligns null-check syntax with upstream.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​SimpleTerminalBase.cs Aligns progress-rendering null checks with upstream.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​SimpleAnsiTerminal.cs Aligns color-state null checking with upstream.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​SilenceDrivenHeartbeatRenderer.cs Updates provenance and documents locking assumptions.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​IProgressRenderer.cs Updates provenance and documents callback locking.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​AnsiTerminalTestProgressFrame.cs Aligns framework and architecture null checks with upstream.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Terminal/​AnsiTerminal.cs Aligns link-rendering null checks with upstream.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​Options.cs Carries stream modes in application settings.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​MicrosoftTestingPlatformTestCommand.Help.cs Overrides older application help with SDK-owned defaults.
src/​Cli/​dotnet/​Commands/​Test/​MTP/​MicrosoftTestingPlatformTestCommand.cs Resolves effective stream policies from arguments and configuration.
src/​Cli/​AGENTS.md Documents stream-policy ownership and compatibility requirements.
eng/​vendored-files.json Refreshes baselines, records adaptations, and tracks new partials.
documentation/​general/​dotnet-test-artifact-post-processing.md Explains failed-only output defaults and overrides.
.github/​workflows/​issue-triage.md Allows team mentions and corrects testing-team routing data.
.github/​workflows/​issue-triage.lock.yml Updates generated workflow configuration for team mentions.

Review effort: Balanced

Evangelink and others added 2 commits November 9, 2026 14:09
Refresh pinned actions and containers, regenerate runtime workflows, and migrate completion guards and trusted source recording to the v1 interfaces.

Co-authored-by: Copilot App <[email protected]>
Integrate the latest base while preserving MTP captured-output reconciliation and the gh-aw v1.0.1 upgrade. Resolve monitor documentation and regenerate conflicted workflow locks. Retain trusted issue-map dispatch plus upstream run-provenance discovery, grant the downstream dispatcher issues:read, and adapt its test double to the incoming REST lookup.

Co-authored-by: Copilot App <[email protected]>
@Evangelink
Evangelink merged commit 3b88a17 into dotnet:main Nov 9, 2026
28 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 10, 2026
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