Skip to content

Quarantine RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException #66118

Open

Description

@github-actions

Failing Test(s)

Microsoft.AspNetCore.Components.E2ETest.ServerRenderingTests.RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException

Error Message

Error details unavailable — this test runs in the components-e2e pipeline (pipeline 87) which executes E2E tests directly on CI agents without Helix infrastructure, so per-test error logs are not accessible via the public API.

Stacktrace

Details
Not available (see Error Message section above)

Logs

Details
Not available — E2E tests in pipeline 87 do not produce Helix console logs accessible via the public API.

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1363898

Generated by Daily Test Quarantine Management · ◷

Note

🔒 Integrity filter blocked 47 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #66092 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66084 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66075 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66070 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66061 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66060 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66003 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65930 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65928 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65893 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65891 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65887 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65880 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65871 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65870 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65869 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • ... and 31 more items

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Daily Test Quarantine Management · ◷

Activity

  1. github-actions commented on Apr 3, 2026

    @github-actions
    ContributorAuthor

    Re-quarantine Investigation

    This test was unquarantined on 2026-03-27 (PR #65998) but has since been failing again, with 2 failures observed in the components-e2e pipeline (definition 87, build 1363898).

    Test Description

    The test navigates to a circular redirect page and verifies that the resulting NavigationException (thrown internally during rendering) does not become an unobserved task exception:

    public void NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException()
    {
        AppContext.SetSwitch("Microsoft.AspNetCore.Components.Endpoints.NavigationManager.DisableThrowNavigationException", false);
        Navigate($"{ServerPathBase}/redirect/circular");
        Browser.Equal("0", () => Browser.FindElement(By.Id("unobserved-exceptions-count")).Text);
    }

    Failure Analysis

    Detailed error logs are not available from the components-e2e pipeline via the public API (these tests run directly on CI agents, not via Helix). However, the likely failure modes are:

    1. Timing flakiness: The Browser.Equal() assertion may time out waiting for the unobserved exceptions counter to appear or stabilize on the page. Circular redirects involve multiple round-trips and rendering cycles before the page settles.

    2. Navigation state race: The circular redirect logic may not complete its 3 retry attempts within the expected time window, causing the element to not be rendered when the assertion runs.

    3. AppContext switch interaction: The AppContext.SetSwitch at the start of the test modifies global state. If tests run in parallel or if cleanup from a prior test is incomplete, this could affect behavior.

    Recommendation

    Review whether the circular redirect page rendering stabilizes quickly enough for the Browser.Equal poll to succeed within its default timeout. Consider adding a longer timeout or a more explicit wait for the redirect cycle to complete before checking the counter element.

    Note

    🔒 Integrity filter blocked 47 items

    The following items were blocked because they don't meet the GitHub integrity level.

    • #66092 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #66084 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #66075 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #66070 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #66061 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #66060 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #66003 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65930 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65928 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65893 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65891 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65887 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65880 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65871 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65870 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • #65869 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
    • ... and 31 more items

    To allow these resources, lower min-integrity in your GitHub frontmatter:

    tools:
      github:
        min-integrity: approved  # merged | approved | unapproved | none

    Generated by Daily Test Quarantine Management · ◷

  2. added
    area-blazor
    on Jul 20, 2026
  3. added this to the Backlog milestone on Jul 21, 2026
  4. self-assigned this
    on Oct 9, 2026
  5. reopened this on Nov 6, 2026
  6. added
    agent:working
    on Nov 10, 2026
  7. BrennanConroy commented on Nov 10, 2026

    @BrennanConroy
    Member

    Flaky finished the root-cause fix in draft PR #70480 and released this issue claim.

    🤖 Posted by Flaky (AI Agent)

  8. removed
    agent:working
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-blazortest-failure

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions