Skip to content

[main] Source code updates from dotnet/sdk - #7529

Merged
nagilson merged 6 commits into
mainfrom
darc-main-f67c6def-6520-47d1-a457-ebda15e05a33
Jul 6, 2026
Merged

nagilson merged 6 commits into
mainfrom
darc-main-f67c6def-6520-47d1-a457-ebda15e05a33

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Jul 2, 2026 •

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:0cfbeab3f234d989fe69ea9f83cf0a4ddbf69c5e..https://github.com/dotnet/dotnet:darc-main-f67c6def-6520-47d1-a457-ebda15e05a33

@dotnet-maestro

dotnet-maestro Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Caution

🚨 Action Required — Conflict detected

A conflict was detected when trying to update this PR with changes from build 321122 of https://github.com/dotnet/sdk/tree/9765daee90e39dc5eb71eec59941fbbd3c769407.

The conflicts in the following files need to be manually resolved:

ℹ️ To resolve the conflicts, please follow these steps:

  1. Clone the current repository

    git clone https://github.com/dotnet/dotnet
    cd dotnet
  2. Make sure your darc is up-to-date
    (version 1.1.0-beta.26329.1 or higher)

    # Linux / MacOS
    ./eng/common/darc-init.sh
    # or on Windows
    .\eng\common\darc-init.ps1
  3. Run from repo's git clone and follow the instructions provided by the command to stage the conflict locally

    darc vmr resolve-conflict --subscription b80ccdd7-504a-4efb-b58b-d6480d0a64d9 

    This should apply the build 321122 with sources from 9765dae

  4. Resolve the conflicts, commit & push the changes

  5. Once pushed, the Codeflow verification check will turn green.
    If not, a new build might have flown into the PR and you might need to run the command above again.

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

@dotnet-maestro

dotnet-maestro Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team July 2, 2026 02:11
@joeloff

joeloff commented Jul 2, 2026 •

Copy link
Copy Markdown
Member

This requires adding an MSTest package to the source build assets. That flow may not be sustainable if the package versions keeps getting updated through dependabot.

PR that introduced the dependency: dotnet/sdk#54959

@dotnet-maestro

dotnet-maestro Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Evangelink added a commit to microsoft/testfx that referenced this pull request Jul 3, 2026
…doring markers

dotnet/sdk consumed the source-only Microsoft.Testing.Platform.Internal.DotnetTest
package to share the 'dotnet test' <-> Microsoft.Testing.Platform source (wire
contract + terminal reporter). That package breaks source-build / the VMR
(dotnet/dotnet#7529), so dotnet/sdk has switched back to vendoring (hand-copying)
those files with a drift-tracking manifest (eng/vendored-files.json).

- Delete the Microsoft.Testing.Platform.Internal.DotnetTest package project and
  remove it from TestFx.slnx.
- Keep DotnetTestProtocolContract.props and TerminalReporterContract.props as the
  canonical enumeration of the shared source (still imported by the standalone
  contract test projects that guarantee the files compile independently). Rewrite
  their comments to describe vendoring into dotnet/sdk instead of the NuGet
  package, and drop the now-unused *ContractCompile=false pack path.

testfx remains the source of truth; these props tell contributors which files
dotnet/sdk vendors, and dotnet/sdk's scheduled workflow opens an issue when they
change. Both contract test projects build clean.

Co-authored-by: Copilot App <[email protected]>
Evangelink added a commit to dotnet/sdk that referenced this pull request Jul 3, 2026
…tnetTest package

The source-only Microsoft.Testing.Platform.Internal.DotnetTest package (#54959)
breaks source-build / the VMR (dotnet/dotnet#7529). Revert to hand-copying the
shared "dotnet test" <-> Microsoft.Testing.Platform source (named-pipe wire
contract + terminal reporter) and add a vendored-files drift-tracking mechanism
ported from microsoft/testfx so we get notified when the upstream files change.

- Revert PR #54959: restore the vendored Terminal reporter + ObjectFieldIds.cs +
  the wire constants in CliConstants.cs and their namespaces; drop the package
  reference, CPM version, darc wiring and NoWarn;CS0436.
- Add eng/vendored-files.json (manifest of the testfx-sourced files),
  eng/vendored-files.md (docs), .github/scripts/check_vendored_files.py (drift
  detector) and .github/workflows/check-vendored-files.yml (weekly + PR checks).

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

dotnet-maestro Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Note

There was a conflict when merging version properties. In file src/sdk/eng/Version.Details.xml, property 'Microsoft.Testing.Platform.Internal.DotnetTest'
was added in the target branch but removed in the source repo's branch.

We will prefer the change from the source branch and not add the property.

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

@dotnet-maestro

dotnet-maestro Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

@nagilson
nagilson merged commit bde6fe9 into main Jul 6, 2026
16 checks passed
@nagilson
nagilson deleted the darc-main-f67c6def-6520-47d1-a457-ebda15e05a33 branch July 6, 2026 18:21
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team July 6, 2026 18:23
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.

2 participants