Skip to content
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

Merge release/dev17.6 to main #66674

Merged
merged 5 commits into from
Feb 2, 2023
Merged

Conversation

dotnet-bot
Copy link
Collaborator

This is an automatically generated pull request from release/dev17.6 into main.

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/release/dev17.6-to-main
git reset --hard upstream/main
git merge upstream/release/dev17.6
# Fix merge conflicts
git commit
git push upstream merges/release/dev17.6-to-main --force

akhera99 and others added 5 commits January 25, 2023 13:57
* fix inline diagnostics with empty lines

* wip - need to get the tests to pass

* Revert "wip - need to get the tests to pass"

This reverts commit 981abf4.

* comment
…_lines

Inline Diagnostics - fix multiple empty line bug
…se/dev17.5-vs-deps

Merge release/dev17.5 to release/dev17.5-vs-deps
…to-release/dev17.6

Merge release/dev17.5-vs-deps to release/dev17.6
* Reduce copies in shadow load

The invariant that our `AnalyzerAssemblyLoader` depends on is the
underlying file system is static. Once the contents of an assembly are
read off of disk, even if the content is changed and re-registered, the
loader will make no attempt to load the new assembly

The change in #66492 missed this part of the contract. Upon a new
registration via `AddDependencyLocation` it would reset the data for the
location and allow new loads to occur.

This caused a spike in shadow load copies during VS testing and
regressed RPS. This change restores the previous copy behavior and adds
test to ensure it's not regressed again.

* PR feedback
Copy link

@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

@dotnet-bot dotnet-bot merged commit de2892a into main Feb 2, 2023
@ghost ghost added this to the Next milestone Feb 2, 2023
@RikkiGibson RikkiGibson modified the milestones: Next, 17.6 P2 Mar 2, 2023
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.

4 participants