Skip to content

Merge 'main' into UserDefinedCompoundAssignment #78262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AlekseyTs
Copy link
Contributor

No description provided.

ToddGrun and others added 30 commits April 9, 2025 19:50
…hanges

Additionally, reduce false positives in telemetry reporting inefficiencies in project system interactions wrt Preprocessor directives.
…onsInBatch

2) Simplify obtaining ISyntaxTreeFactoryService
3) Change version reference
4) Quote potential string containing value in targets files
CPS appears to have moved to the new one several years ago, so we
can delete this now.
…ence-packages build 20250410.1

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.620702 -> To Version 10.0.621001
I'm a bit suspicious that re-enabling that exception might be unsafe,
so let's be a bit friendlier.
Stuff we can delete I noticed while looking at a potential performance
improvement.
…otnet#78051)

This PR restores behavior introduced in dotnet#77768 that were reverted in PR dotnet#77983.
The revert occurred as it was flagged for causing ddrit regressions in some of the WinformsVS64.Designer tests. I was unable to reproduce this scenario locally,
but the RPS tests are able to reliably hit this issue.

Digging into it a bit indicated that creating the OpenTextBufferProvider on a bg thread somehow a thread affinity that caused
microsoft.visualstudio.shell.design.ni!DocData.CreateNativeDocData's call to msenv!CEditorManager::RegisterInvisibleEditor's to require an RPC main->bg thread switch.
This breaks the assumptions of RegisterInvisibleEditor and weird things start happening. Jason helped track down the likely culprit, and logged
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2441480 to track that work.

This PR works around that issue by obtaining the RDT while on the main thread. I've logged dotnet#78050 to track the Roslyn cleanup
necessary once obtaining the rdt can be done from a background thread.

a) Restores changes from PR dotnet#77768 that were reverted in PR dotnet#77983
b) Ensure OpenTextBufferProvider._runningDocumentTable is initialized on the main thread.
c) Added comments about https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2441480 and created a tracking bug for us to clean this up once it's fixed (dotnet#78050)
dibarbet and others added 15 commits April 22, 2025 10:24
…ml (dotnet#78206)

This is to replace the current consumption in the VS repo that is
consuming this project out of VS.ExternalAPIs.Roslyn.
We can depend on Build rather than be AfterTargets="Build" so that way
we don't run when we don't expect to be.
* Clean up output capture on .NET Core

This cleans up how we handle output capture on .NET Core. This moves from a lot of mutable `static` static, that would break if tests ran in parallel, to instance state that uses locks to guard againtst concurrent runs.

* more

* more
@AlekseyTs AlekseyTs requested review from a team as code owners April 22, 2025 22:09
@ghost ghost added the untriaged Issues and PRs which have not yet been triaged by a lead label Apr 22, 2025
@AlekseyTs AlekseyTs requested review from 333fred and cston April 22, 2025 22:10
@AlekseyTs AlekseyTs merged commit 7fb0864 into dotnet:features/UserDefinedCompoundAssignment Apr 23, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.