Skip to content

[main] Source code updates from dotnet/roslyn - #10795

Closed
dotnet-maestro[bot] wants to merge 29 commits into
mainfrom
darc-main-922029fc-031c-4af8-88d3-77b3c5475d96
Closed

dotnet-maestro[bot] wants to merge 29 commits into
mainfrom
darc-main-922029fc-031c-4af8-88d3-77b3c5475d96

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Nov 7, 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/roslyn

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/roslyn:2fef89894091f76a84e34341c66cb9948e447caa..https://github.com/dotnet/dotnet:darc-main-922029fc-031c-4af8-88d3-77b3c5475d96

@dotnet-maestro

dotnet-maestro Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Important

⚠️ No subscription flowing code in the opposite direction is set up.
Code changes made in the VMR's src/ directory will not flow back to the source repository on branch "main".

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

@dotnet-maestro

dotnet-maestro Bot commented Nov 7, 2026

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 November 7, 2026 02:07

@maestro-approver maestro-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dotnet-maestro

dotnet-maestro Bot commented Nov 9, 2026

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.

@dotnet-maestro

dotnet-maestro Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@akoeplinger

Copy link
Copy Markdown
Member

Fails the same way as in #10783 (comment)

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@JanProvaznik

Copy link
Copy Markdown
Member

@jaredpar @dotnet/roslyn-infrastructure likely same issue as #10783 (comment) could you also resolve and merge

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@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.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@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.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • .github/copilot-instructions.md
  • eng/build.ps1
  • eng/generate-vssdk-versions.cs
  • eng/generate-vssdk-versions.csx
  • Verify.cmd
  • verify.sh

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

Roslyn removed the tempDirectory parameter. Same fix as a0b8172 (jaredpar) on release/11.0.2xx (#10783).
@JanProvaznik

Copy link
Copy Markdown
Member

Pushed 441c5d4 to fix the CS1739 break: it stops passing \ empDirectory:\ to \BuildServerConnection.CreateBuildRequest\ in sdk's \CSharpCompilerCommand.cs. This is the same one-line fix @jaredpar applied on release/11.0.2xx (a0b8172 in #10783). CI should rerun now. (VMR QB action, agent-assisted.)

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team November 18, 2026 10:51
@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

@JanProvaznik
JanProvaznik enabled auto-merge (squash) November 19, 2026 09:49
- If a change cannot be split without making it less correct or harder to validate, explain that constraint in the plan and keep the commits logically separated.
- If a change cannot be split without making it less correct or harder to validate, explain that constraint and keep the commits logically separated.

## Pull Request Descriptions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section looks duplicated, a bad merge?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleting this seems wrong - this file still exists in roslyn.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dotnet/prodconsvcs FYI, looks like a bug in the bot

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this one is pretty cursed

@premun premun Nov 19, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah, the other side received an unsafe codeflow: dotnet/roslyn#86346
This has then flowed in here (possibly via --force?)

@dotnet-maestro
dotnet-maestro Bot deleted the darc-main-922029fc-031c-4af8-88d3-77b3c5475d96 branch November 19, 2026 10:32
JanProvaznik added a commit that referenced this pull request Nov 19, 2026
Describe what CodeflowSourceDiffVerifier compares and when it runs, and replace the V0/S0 heuristic with a three-way merge (git merge-file V0 S0 S1) so intentional VMR-only edits are kept instead of being overwritten from S1. Validated against #10795, #11157 and #11140.

Co-authored-by: Copilot App <[email protected]>
JanProvaznik added a commit that referenced this pull request Nov 23, 2026
Roslyn removed the tempDirectory parameter; sdk's CSharpCompilerCommand still passed it, breaking the build with CS1739. Same fix as 441c5d4 on the closed #10795 (and jaredpar's a0b8172 on release/11.0.2xx).

Co-authored-by: Copilot App <[email protected]>
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.

4 participants