Skip to content

[release/11.0.1xx-preview7] Source code updates from dotnet/sdk - #7944

Merged
marcpopMSFT merged 2 commits into
release/11.0.1xx-preview7from
darc-release/11.0.1xx-preview7-73ef33a9-dbfa-4b2a-b63d-b1be8c8f2347
Jul 24, 2026
Merged

marcpopMSFT merged 2 commits into
release/11.0.1xx-preview7from
darc-release/11.0.1xx-preview7-73ef33a9-dbfa-4b2a-b63d-b1be8c8f2347

Conversation

@dotnet-maestro

Copy link
Copy Markdown
Contributor

Note

This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/sdk

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/sdk:5e5d5799b0b25c349245bf6d03998a56061025bc..https://github.com/dotnet/dotnet:darc-release/11.0.1xx-preview7-73ef33a9-dbfa-4b2a-b63d-b1be8c8f2347

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

PRs from original repository included in this codeflow update:

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 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.

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team July 24, 2026 16:24
@marcpopMSFT
marcpopMSFT merged commit 517463b into release/11.0.1xx-preview7 Jul 24, 2026
16 checks passed
@dotnet-maestro
dotnet-maestro Bot deleted the darc-release/11.0.1xx-preview7-73ef33a9-dbfa-4b2a-b63d-b1be8c8f2347 branch July 24, 2026 21:57
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team July 24, 2026 21:57
Evangelink added a commit to microsoft/testfx that referenced this pull request Jul 28, 2026
…orts

Bumps global.json (tools.dotnet + sdk.version) to 11.0.100-preview.7.26376.106.
That build carries the SDK-side artifact post-processing orchestration
(dotnet/sdk#55419, backported to release/11.0.1xx-preview7 as dotnet/sdk#55453),
which flowed into the VMR via '[release/11.0.1xx-preview7] Source code updates
from dotnet/sdk' (dotnet/dotnet#7944), so RFC 018 phase 2 now actually runs for
this repo's multi-module 'dotnet test' invocations.

Enabling it surfaced a problem that is not specific to this repo. The SDK points
the processor's output directory at the run's --results-directory, which already
holds the per-module reports the merge consumed, so TrxArtifactPostProcessor was
writing the merged report as a sibling of its own inputs. Collecting a results
directory with a non-recursive '*.trx' glob is near-universal (Arcade's 'Publish
TRX Test Results' step, the PublishTestResults@2 defaults, typical
ReportGenerator setups), and every such consumer would ingest both the merged
report and the reports it summarizes, double-counting every test.

TrxArtifactPostProcessor now writes to '<outputDirectory>/merged/', which keeps
the merged report out of those globs by construction instead of asking each
consumer to special-case the merged file name.

Nesting also keeps the report co-located with its attachments, which a
CI-side move could not. MergeToFileAsync derives the attachment deployment root
from the output path and records it in the TRX as a relative runDeploymentRoot,
so the report and its attachment tree have to stay in the same directory for
those references to resolve; writing the report into the subdirectory moves both
together. Adds a regression test covering that, and asserting nothing of the
merged report is left in the results-directory root.

Verified end to end on this SDK: two MTP modules (23 + 2 tests) run through
'dotnet test' with a shared --results-directory produce
'merged/merged-<runId>.trx' with total=25, reported back over the existing pipe
as an out-of-process file artifact, with the per-module reports left intact at
the root and nothing else matching a non-recursive '*.trx' glob there.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 4a6c06b2-7dcb-407e-bb9e-ca0c8302fa93
Evangelink added a commit to microsoft/testfx that referenced this pull request Jul 28, 2026
…orts

Bumps global.json (tools.dotnet + sdk.version) to 11.0.100-preview.7.26376.106.
That build carries the SDK-side artifact post-processing orchestration
(dotnet/sdk#55419, backported to release/11.0.1xx-preview7 as dotnet/sdk#55453),
which flowed into the VMR via '[release/11.0.1xx-preview7] Source code updates
from dotnet/sdk' (dotnet/dotnet#7944), so RFC 018 phase 2 now actually runs for
this repo's multi-module 'dotnet test' invocations.

Enabling it surfaced a problem that is not specific to this repo. The SDK points
the processor's output directory at the run's --results-directory, which already
holds the per-module reports the merge consumed, so TrxArtifactPostProcessor was
writing the merged report as a sibling of its own inputs. Collecting a results
directory with a non-recursive '*.trx' glob is near-universal (Arcade's 'Publish
TRX Test Results' step, the PublishTestResults@2 defaults, typical
ReportGenerator setups), and every such consumer would ingest both the merged
report and the reports it summarizes, double-counting every test.

TrxArtifactPostProcessor now writes to '<outputDirectory>/merged/', which keeps
the merged report out of those globs by construction instead of asking each
consumer to special-case the merged file name.

Nesting also keeps the report co-located with its attachments, which a
CI-side move could not. MergeToFileAsync derives the attachment deployment root
from the output path and records it in the TRX as a relative runDeploymentRoot,
so the report and its attachment tree have to stay in the same directory for
those references to resolve; writing the report into the subdirectory moves both
together. Adds a regression test covering that, and asserting nothing of the
merged report is left in the results-directory root.

Verified end to end on this SDK: two MTP modules (23 + 2 tests) run through
'dotnet test' with a shared --results-directory produce
'merged/merged-<runId>.trx' with total=25, reported back over the existing pipe
as an out-of-process file artifact, with the per-module reports left intact at
the root and nothing else matching a non-recursive '*.trx' glob there.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 4a6c06b2-7dcb-407e-bb9e-ca0c8302fa93
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.

1 participant