Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 2, 2025

Backport of #120333 to release/10.0

/cc @thaystg

Customer Impact

  • Customer reported
  • Found internally

This change fixes a problem with hot reload on blazor webassembly where two updates are sent to the runtime at the same time and the runtime asserts. This was previously an unsupported scenario, but recent up stack changes altered the behavior. The plan is to fix both the up stack behavior and in runtime as a defense in depth. The reasoning is that one of the two updates sent to runtime contains no IL. We can look at that one and safely ignore it.

Regression

  • Yes
  • No

Not in runtime at least. This was not a supported scenario.

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

Manual before and after testing

Risk

Low
[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

@steveisok steveisok changed the title [release/10.0] [mono][hotreload] Ignore if we receive an empty update. [release/10.0] [mono][hotreload] Make the runtime ignore an update if it is an empty one. Oct 3, 2025
@JulieLeeMSFT
Copy link
Member

@lewing please review the changes.

@steveisok steveisok added the Servicing-approved Approved for servicing release label Oct 3, 2025
@steveisok steveisok enabled auto-merge (squash) October 3, 2025 23:28
@steveisok steveisok merged commit 1e4efee into release/10.0 Oct 4, 2025
71 of 73 checks passed
@steveisok steveisok deleted the backport/pr-120333-to-release/10.0 branch October 4, 2025 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants