What was wrong: the upload tests read a process-wide count of texture uploads, so another test's uploads between their `before` and their submission landed in it: `a_texture_is_uploaded_once_per_submission_and_only_when_written` failed in a parallel run of the crate's tests and passed alone. What changed: each texture's staging state counts its own uploads; the tests read those of their texture (`texture::uploads`, tests only). The process-wide counter had no other reader and is gone. Evidence: the crate's tests three times in a row with 8 threads, 157 passed each time; clippy clean on both feature sets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b2f6c95596
·
2026-11-25 08:25:56 +01:00
History