Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Some tests are flaky after xUnit upgrade #19364

Closed

Description

@majocha

Tracking tests that are annoyingly flaky in CI.

  • Test Project25 symbol uses of type-provided members fails with unhelpful message.

Activity

  1. added this to the Backlog milestone on Feb 27, 2026
  2. majocha commented on Feb 27, 2026

    @majocha
    ContributorAuthor

    Test Project25 symbol uses of type-provided members fails randomly with:

    Unexpectedly missing (expected, not actual): ("FSharp.Data", "file1", ((3, 12), (3, 16)), ["namespace"])
    Unexpectedly present (actual, not expected): ("FSharp.Data", "file1", ((3, 12), (3, 16)), ["namespace"; "provided"])

  3. T-Gro commented on Feb 27, 2026

    @T-Gro
    Member

    This is consequence of me removing the binary we had in the repo at https://github.com/dotnet/fsharp/pull/19254/changes#diff-019a3135678bfb4a81840680a77136a358f0831e5d90f4aaa0e39e68a9e2d493 , and replacing it with Nuget.
    Not yet sure why, but the fact that it is from Nuget and uses (admittedly ugly, but still safer than a .dll lying around) causes non-deterministic behavior.

    I haven't yet checked if we have something else testing symbol APIs for TPs - if we do it, we might as well end up better fully removing this dependency.

  4. majocha commented on Feb 27, 2026

    @majocha
    ContributorAuthor

    https://github.com/dotnet/fsharp/pull/19254/changes#diff-019a3135678bfb4a81840680a77136a358f0831e5d90f4aaa0e39e68a9e2d493L3732

    So previously the "provided" attribute was always expected (tbh this does not look correct at first glance, isn't FSharp.Data an actual namespace from the dll?) but now it shows up only rarely.
    ETA: Linux CI where this happens does not use Transparent Compiler, I think?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions