Skip to content

Observe streaming renderer quiescence failures - #70480

Draft
BrennanConroy wants to merge 1 commit into
mainfrom
flaky/66118-redirection-exception-isolation
Draft

BrennanConroy wants to merge 1 commit into
mainfrom
flaky/66118-redirection-exception-isolation

Conversation

@BrennanConroy

Copy link
Copy Markdown
Member

Observe streaming renderer quiescence failures

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making.

Observe the full-quiescence task during streaming rendering.

Description

EndpointHtmlRenderer tracks non-streaming component work both in its own pending-task list and in the base renderer's full-quiescence task. The streaming path awaited only the first list, so a NavigationException was handled for the response but remained faulted in the unobserved quiescence task. Forced GC then raised three UnobservedTaskException events in the quarantined circular-redirection test.

Attach the existing error-observing helper to the quiescence task without awaiting it. Streaming can still return before full quiescence, while exceptions from the duplicate tracking path are observed. The existing assertion and quarantine remain unchanged.

Validation:

  • Reproduced the exact Expected: 0, Actual: 3 failure locally before the change.
  • Components E2E project build passed with 0 warnings and 0 errors.
  • Focused quarantined test passed 20/20 repeated runs.
  • Full RedirectionTest class passed.

Issue: #66118

🤖 Posted by Flaky (AI Agent)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the area-blazor Includes: Blazor, Razor Components label Nov 10, 2026
@BrennanConroy BrennanConroy added the agent:working An AI agent is actively working on this issue/PR label Nov 10, 2026 — with Copilot SWE Agent

BrennanConroy commented Nov 10, 2026 •

Copy link
Copy Markdown
Member Author

Flaky finished local validation and released this draft PR for owner review.

🤖 Posted by Flaky (AI Agent)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant