Skip to content

Flaky in the merge queue: solidcraft-ui-egui::home::tests::library_cache_identity_tracks_replacements_with_preserved_mtime #18328

Done

Description

@bherbruck

solidcraft-ui-egui::home::tests::library_cache_identity_tracks_replacements_with_preserved_mtime failed in the merge queue in a way that isn't one PR's fault: failed in group #17768 (run 44011077248) and in group #17132 (run 44007955085), whose failures trace back to different PRs.

Failing runs:

It holds up every batch it lands in. I'd like it fixed or put on the known-failing list (tests/KNOWN_FAILING_TESTS) until it is.

Activity

  1. added
    flaky
    on Nov 17, 2026
  2. added
    needs-triage
    on Nov 17, 2026
  3. bherbruck commented on Nov 17, 2026

    @bherbruck
    CollaboratorAuthor

    It failed again in two merge-queue groups in a row, both unrelated to the UI code: https://github.com/tangency-labs/solidcraft/actions/runs/44013111799 (group for #16572, a solidcore-only change) and https://github.com/tangency-labs/solidcraft/actions/runs/44013208565 (group for #18295).

    The cause looks like timing. The test rewrites the file with the same length after only a 2 ms sleep and restores the old mtime, so cache_path can only tell the two apart by (ctime, ctime_nsec). On a filesystem whose ctime ticks more coarsely than 2 ms, both writes get the same ctime and the hashes match. The fix is to make the replacement detectable without relying on clock resolution, for example by changing the length or the inode (write to a temp file and rename over it), or by sleeping until ctime has visibly changed before asserting.

  4. added
    in progress
    on Nov 17, 2026
  5. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    Claimed by @iHateStupidPeople through #18350. The claim lapses after 14 days without pushes.

  6. removed
    in progress
    on Nov 20, 2026
  7. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    No draft PR showed up within 72 h, so this one is free again. Anyone can /claim it.

  8. added
    in progress
    on Nov 27, 2026
  9. github-actions commented on Nov 27, 2026

    @github-actions
    Contributor

    Claimed by @sylvesterkaczmarek through #23281. The claim lapses after 14 days without pushes.

  10. added a commit that references this issue on Nov 30, 2026
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

    flakyin progressneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions