Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #120333 to release/9.0-staging

/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
[How was the fix verified? How was the issue missed previously? What tests were added?]

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.

@github-actions github-actions bot requested a review from marek-safar as a code owner October 2, 2025 18:34
@steveisok steveisok added the Servicing-consider Issue for next servicing release review label Oct 3, 2025
@steveisok steveisok changed the title [release/9.0-staging] [mono][hotreload] Ignore if we receive an empty update. [release/9.0-staging] [mono][hotreload] Make the runtime ignore an update if it is an empty one Oct 3, 2025
@steveisok steveisok requested a review from lewing October 3, 2025 21:07
@steveisok steveisok added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 3, 2025
@steveisok steveisok requested a review from thaystg October 3, 2025 23:28
@steveisok steveisok enabled auto-merge (squash) October 4, 2025 01:24
@steveisok steveisok merged commit 750a186 into release/9.0-staging Oct 4, 2025
82 of 85 checks passed
@akoeplinger akoeplinger deleted the backport/pr-120333-to-release/9.0-staging branch October 11, 2025 14:06
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.

3 participants