Skip to content

Fix stale TRX merged-report location in artifact post-processing doc - #55577

Merged
Evangelink merged 2 commits into
dotnet:mainfrom
Evangelink:dev/amauryleve/fix-stale-trx-merge-doc
Aug 4, 2026
Merged

Fix stale TRX merged-report location in artifact post-processing doc#55577
Evangelink merged 2 commits into
dotnet:mainfrom
Evangelink:dev/amauryleve/fix-stale-trx-merge-doc

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Summary

  • Correct the documented location of merged TRX reports for the current Microsoft.Testing.Extensions.TrxReport.
  • Explain that the report is written under the merged/ subdirectory, so a non-recursive *.trx glob finds the per-module inputs but not the merged report.

This behavior changed in microsoft/testfx#10277, which nested merged TRX reports to avoid double-counting with non-recursive result globs.

Verification

Verified with a two-project MSTest solution containing three tests, using .NET SDK 11.0.100-preview.7.26376.106 and locally built testfx packages from current main:

  • Inputs: TR\P1_net10.0_x64.trx, TR\P2_net10.0_x64.trx
  • Merged report: TR\merged\merged-24aef8ed8acb9fa1ef8fb889eb0ee2b1.trx

The merged report contained all three test results.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 5cb6841a-b80b-4e3e-bfdc-29e775de2470
Copilot AI review requested due to automatic review settings August 3, 2026 17:36
@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.

Pull request overview

Updates the dotnet test artifact post-processing documentation to reflect the current Microsoft.Testing.Extensions.TrxReport behavior where merged TRX output is written under a merged/ subdirectory, and explains the impact this has on non-recursive TRX globs in CI.

Changes:

  • Correct documented merged TRX output location to merged/.
  • Update the explanation of why a non-recursive *.trx glob does not include the merged report (and therefore avoids double-counting in that specific case).
Show a summary per file
File Description
documentation/general/dotnet-test-artifact-post-processing.md Updates documentation to reflect merged TRX output being nested under merged/ and clarifies globbing implications.

Copilot's findings

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

Comment thread documentation/general/dotnet-test-artifact-post-processing.md Outdated
@Evangelink
Evangelink enabled auto-merge August 3, 2026 18:10
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 5cb6841a-b80b-4e3e-bfdc-29e775de2470
@Evangelink
Evangelink merged commit 8ca11db into dotnet:main Aug 4, 2026
14 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 5, 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

Development

Successfully merging this pull request may close these issues.

3 participants