Conversation
RazorViews_CanBeServedAndUpdatedViaRuntimeCompilation and RazorPages_CanBeServedAndUpdatedViaRuntimeCompilation were unquarantined in #66492 but have been failing again in CI immediately after the unquarantine commit landed on main (builds 1398790, 1398958, 1399225, 1399308). The tests are failing with a Xunit.Sdk.EqualException in the 'cached compilation' check (Assert-3): after requesting the same page with no file changes, the test gets a different assembly name, indicating the page is being spuriously recompiled. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Youssef1313
approved these changes
Apr 28, 2026
This was referenced Apr 28, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tests
RazorViews_CanBeServedAndUpdatedViaRuntimeCompilationandRazorPages_CanBeServedAndUpdatedViaRuntimeCompilationwere unquarantined in #66492 (merged 2026-04-27) but began failing immediately after the unquarantine commit landed onmain.Both tests are failing at the "cached compilation" Assert-3 check: after updating a Razor file and retrieving the new compiled assembly name, a subsequent request (with no file changes) unexpectedly returns a different assembly name, indicating the page was spuriously recompiled.
Failure count since unquarantine
RazorPages_CanBeServedAndUpdatedViaRuntimeCompilationRazorViews_CanBeServedAndUpdatedViaRuntimeCompilationAssociated issue: #56553