Skip to content

Reconcile vendored TestFX wire IDs and drift baselines - #56537

Merged
Evangelink merged 1 commit into
mainfrom
dev/amauryleve/testfx-updates
Oct 7, 2026
Merged

Evangelink merged 1 commit into
mainfrom
dev/amauryleve/testfx-updates

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Reconcile five vendored-source drift reports against TestFX commit 005e8f826fcb174cb9ebaa1382a152466fada67d, keeping the SDK's intentional local adaptations intact.

  • Add the upstream ProviderUid, MinimumArity, and MaximumArity field IDs (6, 7, and 8). Existing IDs are unchanged, and the SDK serializer continues skipping this optional metadata rather than enabling new option behavior.
  • Advance exactly five vendored baselines. Three upstream changes are BOM-only; the target-framework parser fix is already present locally with an equivalent early length check, so no implementation rewrite is needed.
  • Cover legacy and newer option payloads, preservation of following fields and option entries, and additional short/truncated framework descriptions. No user-visible behavior changes.

Validation

.\.dotnet\dotnet.exe scripts\RunTests.cs -- --project test\dotnet.Tests\dotnet.Tests.csproj --filter "FullyQualifiedName~TargetFrameworkParserTests|FullyQualifiedName~CommandLineOptionMessagesSerializerTests|FullyQualifiedName~TestApplicationProtocolVersionTests|FullyQualifiedName~GivenDotnetTestBuildsAndRunsHelp"
python .github\scripts\check_vendored_files.py validate

The focused runner built without warnings and passed all 35 tests (exit 0). This includes six real dotnet test --help commands for single- and multi-module projects in Debug/Release, each exiting 0 against the changed redist SDK, rather than only in-process unit checks.

Components: built SDK 12.0.100-dev, Microsoft.Testing.Platform 2.5.0-preview.26503.3, MSTest/MSTest.Sdk 4.5.0-preview.26503.3, and bootstrap SDK 11.0.100-rc.1.26420.103. Dependency versions are unchanged. Retained TRX and build binlog: artifacts\log\test-runs\dotnet.Tests\20261007-100704-161596\. Manifest validation passed, and all 94 wire constants match the pinned upstream contract.

Fixes #56491
Fixes #56492
Fixes #56493
Fixes #56494
Fixes #56495

Reserve optional command-line option metadata IDs without changing SDK consumption, reconcile the five upstream baselines, and cover legacy/new option payloads and short framework descriptions.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: a28a69d1-b674-4045-bc70-078470462b64
Copilot AI balanced review requested due to automatic review settings October 7, 2026 11:04
@Evangelink
Evangelink requested a review from a team as a code owner October 7, 2026 11:04
@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

🟢 Approval recommended

The wire constants, compatibility coverage, and five manifest updates are consistent with the linked upstream drift reports.

Review effort: Balanced
Findings: None

What changed in this PR

Reconciles five TestFX vendored-source drift reports while preserving SDK-specific behavior.

Changes:

  • Adds three upstream command-line option wire IDs.
  • Adds compatibility tests for optional metadata and truncated framework descriptions.
  • Advances five vendored baselines to the pinned TestFX commit.
File Description
ObjectFieldIds.cs Adds upstream wire IDs 6–8.
CommandLineOptionMessagesSerializerTests.cs Tests legacy and metadata-bearing payloads.
TargetFrameworkParserTests.cs Covers additional short/truncated descriptions.
vendored-files.json Updates five baselines and adaptation notes.

@Evangelink
Evangelink merged commit 8d320c9 into main Oct 7, 2026
27 checks passed
@Evangelink
Evangelink deleted the dev/amauryleve/testfx-updates branch October 7, 2026 12:00
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 8, 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