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

[release/7.0] [hot_reload] ignore modified MONO_TABLE_TYPEDEF rows in update #90167

Closed

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 8, 2023

Backport of #90166 to release/7.0

/cc @lambdageek

Customer Impact

Customers using Hot Reload with WebAssembly or mobile platforms should be able to delete custom attributes from classes in a hot reload session without the runtime crashing. Additionally customers using Blazor WebAssembly should be able to delete a @layout directive without the runtime crashing.

Testing

CI testing

Risk

Low. The PR removes an overeager validation check that assumed there hot reload deltas will not contain rows that modify existing types. However Roslyn does send such changes (although the modified row is logically equivalent to its previous value) when delete a custom attribute attached to a class. Note that custom attribute deletion was already working for fields and methods.

dotnet-maestro bot and others added 3 commits August 2, 2023 08:02
* Update dependencies from https://github.com/dotnet/xharness build 20230621.1

Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 7.0.0-prerelease.23309.1 -> To Version 7.0.0-prerelease.23321.1

* Remove unnecessary spacing from conflict merge

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <[email protected]>
We may want to validate that Parent, Interfaces and Attributes columns
haven't changed, but it's tricky and might be overly restrictive
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc label Aug 8, 2023
@lambdageek lambdageek changed the base branch from release/7.0 to release/7.0-staging August 8, 2023 17:30
@lambdageek lambdageek added the Servicing-consider Issue for next servicing release review label Aug 8, 2023
@lambdageek lambdageek added this to the 7.0.x milestone Aug 8, 2023
@lambdageek lambdageek self-assigned this Aug 8, 2023
@lambdageek
Copy link
Member

I messed up the branches on this one. Going to try again. sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc Servicing-consider Issue for next servicing release review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant