Skip to content

Merge main to features/list-patterns#57905

Merged
jcouv merged 73 commits intofeatures/list-patternsfrom
merges/main-to-features/list-patterns
Nov 21, 2021
Merged

Merge main to features/list-patterns#57905
jcouv merged 73 commits intofeatures/list-patternsfrom
merges/main-to-features/list-patterns

Conversation

@dotnet-bot
Copy link
Copy Markdown
Collaborator

This is an automatically generated pull request from main into features/list-patterns.

Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯

Troubleshooting conflicts

Identify authors of changes which introduced merge conflicts

Scroll to the bottom, then for each file containing conflicts copy its path into the following searches:

Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts.

Resolve merge conflicts using your local repo

Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub.

git fetch --all
git checkout -t upstream/merges/main-to-features/list-patterns
git reset --hard upstream/features/list-patterns
git merge upstream/main
# Fix merge conflicts
git commit
git push upstream merges/main-to-features/list-patterns --force

dibarbet and others added 30 commits November 5, 2021 19:46
…ementalAnalyzer.StateManager.cs

Co-authored-by: Andrew Hall <ryzngard@live.com>
This mitigates https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1423058
which is happening because somehow our tracked project state is getting
out of sync with our GeneratorDriver; when we're transforming
GeneratorDrivers we already have a mechanism to throw out the driver
and simply re-create it later; that's not ideal from a performance
perspective but it's better than throwing exceptions and breaking
features.

This will also force dumps to be created in this situation, even if
that's something not being requested via the telemetry service. Since
we've discovered that the telemetry service won't correctly let us
request dumps for out-of-process work.
Since we are using reflection to copy this value around, we can't
use a custom delegate type that won't unify across assemblies.
This makes us use Action<T1, T2> instead, and I just comment out the
support for non-fatal reporting in the result provider, since we don't
actually use it.
…er-issue

Mitigate the GeneratorDriver missync issue while capturing dumps
…ementalAnalyzer.StateManager.HostStates.cs

Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>
* Fix race condition in computing _hostAnalyzerStateMap

* Address feedback

* Update src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer.StateManager.cs

Co-authored-by: Andrew Hall <ryzngard@live.com>

* Fix build

* Implement IEquatable<HostAnalyzerStateSetKey>

* Address feedback

* Ensure that GetAllHostStateSets do not return duplicates from prior solution state analyzers.

* Update src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer.StateManager.HostStates.cs

Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>

Co-authored-by: Andrew Hall <ryzngard@live.com>
Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>
We understand the root cause now, so we won't need this.
Don't capture dumps for out-of-sync generator drivers
genlu and others added 14 commits November 17, 2021 16:23
VS is taking over insertion of
- System.Collections.Immutable
- System.Reflection.Metadata
- System.Runtime.CompilerServices.Unsafe
- System.Threading.Tasks.Extensions
See https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/364153 for part of this change
Bypass IBCMerge for EditorFeatures.Wpf
Remove handling of certain BCL binaries from our build
[LSP] Use test accessor task instead of async operation to wait for LSP server shutdown in tests
Use the .NET 6.0 SDK for building (Arcade7)
Simplify sqlite authoring now that we're 64bit only
Search less files when searching in global suppressions.
@dotnet-bot dotnet-bot requested review from a team as code owners November 21, 2021 00:02
@dotnet-bot dotnet-bot requested a review from a team November 21, 2021 00:02
@dotnet-bot dotnet-bot force-pushed the merges/main-to-features/list-patterns branch from 6d385fe to 897b786 Compare November 21, 2021 00:02
@dotnet-bot dotnet-bot enabled auto-merge November 21, 2021 00:02
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval

@jcouv jcouv disabled auto-merge November 21, 2021 00:25
@jcouv
Copy link
Copy Markdown
Member

jcouv commented Nov 21, 2021

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 4 pipeline(s).

@jcouv jcouv merged commit 0d661e9 into features/list-patterns Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.