Skip to content

Flaky test: Find Similar cancellation counts 11 reads instead of 12 #3980

Closed as not planned

Description

@eXtideEC

Failure

The UI regression tests::find_similar::stopping_leaves_the_view_alone_and_the_next_search_reads_only_the_rest failed during a full Windows workspace run, then passed once in isolation using the exact same executable, with no source changes.

Sanitized failure excerpt:

crates/ui-egui/src/tests/find_similar.rs:170:5
assertion `left == right` failed
  left: 11
 right: 12
test result: FAILED. 1916 passed; 1 failed; 4 ignored

The isolated diagnostic run passed 1 test in 0.04 s. This is evidence of a flaky test, not a replacement for the failed workspace run.

Context and reproduction

  • Observed while validating LRC-LIB-CATALOG-IMPORT: allow selected network sources with checkbox review #3725 rebased onto main 7e2b8a6b, Windows x86_64.
  • Command: cargo xtask ci, with LIGHTCRAFT_GPU=0, CARGO_BUILD_JOBS=2, RUST_TEST_THREADS=2, LIGHTCRAFT_CI_SLOTS=2. Another independent CI run was active on the same machine.
  • Diagnostic: run the already built UI test executable with --exact tests::find_similar::stopping_leaves_the_view_alone_and_the_next_search_reads_only_the_rest --nocapture.
  • The test, UI Find Similar implementation and engine similar-command module are unchanged from that main revision. The test uses a synthetic in-memory file loader; no real catalog or NAS is involved. Root cause is not established.

The same test was already reported failing under full-workspace load and passing alone on the unrelated grain PR #3630: #3630 (comment). That report says its engine and UI crates are identical to main.

This meets the repository's two-unrelated-PR criterion for quarantine pending a fix. Please keep any quarantine/fix in its own change; neither feature PR should hide the failure or weaken its assertions. Related original feature: #3468.

Activity

  1. added
    bug
    duplicate
    on Nov 8, 2026
  2. ticket-craft commented on Nov 8, 2026

    @ticket-craft

    Possible duplicate of #3799.

  3. FredApps commented on Nov 9, 2026

    @FredApps
    Contributor

    Closing as a duplicate of #3799. Both track the same Find Similar cancellation test flaking in a Windows workspace run; this report observed 11 rather than 12 reads. This report remains linked for its details.

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

    bugduplicatepriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions