You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky in the merge queue: solidcraft-ui-egui::home::tests::library_cache_identity_tracks_replacements_with_preserved_mtime #18328
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.
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.
Activity
bherbruck commentedon Nov 17, 2026
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_pathcan 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 untilctimehas visibly changed before asserting.github-actions commentedon Nov 17, 2026
Claimed by @iHateStupidPeople through #18350. The claim lapses after 14 days without pushes.
github-actions commentedon Nov 20, 2026
No draft PR showed up within 72 h, so this one is free again. Anyone can
/claimit.github-actions commentedon Nov 27, 2026
Claimed by @sylvesterkaczmarek through #23281. The claim lapses after 14 days without pushes.
claim: #18328