Skip to content

[Flakiness] NavigationException surfaces as an unobserved task in Blazor E2E #34

Open

Description

@mmitche

Failure

The Blazor E2E test NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException failed in four final-iteration builds, interrupting each PR until the Linux Mono-server job passed on retry. The test detected a navigation exception surfacing later as an unobserved task exception.

Possible cause

This matches upstream dotnet#62672 and dotnet#66118. Active draft dotnet#70480 reproduces the failure and identifies an unobserved full-quiescence task in streaming rendering; its focused fix observes that task without delaying the streaming response.

Affected builds and PRs

PR PR target branch Build(s) Notes
dotnet/aspnetcore#70281 main Build 1664463 (attempt 1 failed; attempt 2 succeeded) Linux Mono-server Components E2E; exact quarantined navigation test.
dotnet/aspnetcore#70312 main Build 1665592 (attempt 1 failed; attempt 2 succeeded) Linux Mono-server Components E2E; same signature.
dotnet/aspnetcore#70382 main Build 1669217 (attempt 1 failed; attempt 2 succeeded) Linux Mono-server Components E2E; same signature.
dotnet/aspnetcore#70402 main Build 1670830 (attempt 1 failed; attempt 2 succeeded) Linux Mono-server Components E2E; same signature.

Decision

Do not create a competing prototype. Upstream draft dotnet#70480 already contains a narrow mechanism-specific change with reproduction and repeated focused validation; retain this issue as the fork occurrence record until that work is resolved.

Activity

  1. mmitche commented on Nov 18, 2026

    @mmitche
    OwnerAuthor

    Automated Copilot triage cross-link update.

    The current three-day population contained 31 final-head builds whose successful Components E2E aggregate still reported the quarantined NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException failure. They remain tracked by dotnet/aspnetcore#66118, with overlapping implementation work already present in dotnet#70480.

    The run attempted to post the occurrence table upstream, but GitHub rejected the comment with GraphQL: Resource not accessible by integration (addComment). No competing prototype was created.

  2. mmitche commented on Nov 19, 2026

    @mmitche
    OwnerAuthor

    Automated GitHub Copilot triage fallback update.

    Six additional final-head builds reported the quarantined NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException failure: 1685771, 1664449, 1686650, 1686885, 1689241, and 1689921. They remain tracked by dotnet/aspnetcore#66118, with overlapping work in dotnet#70480.

    The upstream occurrence comment was attempted once and rejected with GraphQL: Resource not accessible by integration (addComment). No competing prototype was created.

  3. mmitche commented on Nov 20, 2026

    @mmitche
    OwnerAuthor

    Automated GitHub Copilot triage fallback update.

    Twelve additional final-head builds reported the quarantined NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException failure: 1673682, 1674601, 1682618, 1685659, 1685925, 1687467, 1687475, 1688788, 1689845, 1690231, 1691372, and 1691570. They remain tracked by dotnet/aspnetcore#66118, with overlapping work in dotnet#70480.

    The upstream occurrence comment was attempted once and rejected with GraphQL: Resource not accessible by integration (addComment). No competing prototype was created.

  4. mmitche commented on Nov 23, 2026

    @mmitche
    OwnerAuthor

    Automated GitHub Copilot triage fallback update.

    Build 1694836 for dotnet/aspnetcore#70785 reported another quarantined NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException occurrence (Expected: 0, Actual: 5). It remains tracked by dotnet/aspnetcore#66118, with overlapping work in dotnet#70480.

    The upstream occurrence comment was attempted once and rejected with GraphQL: Resource not accessible by integration (addComment). No competing prototype was created.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions