What’s the current status of the thread sanitiser in the concurrency world? There seem to be lots of false positives, both with Swift Concurrency (which shouldn’t be an issue with strict concurrency checking) and the synchronisation framework in it not detecting the usages of Mutex correctly. Where do we report these and is it still a worthwhile tool these days?
Is this on Linux? Thread Sanitizer on macOS seems to work fine for newer deployment targets, I run it with my test suites. That's been the case since a year after concurrency shipped, but like I said, it only works correctly on the newer OS versions. I do wonder if the Linux version still has those original issues.
primarily out of curiosity, do you have any reproductions of this that you could share?
my intuition is that issues should be filed against the compiler repo. IIUC that's were some of the runtime TSAN integration is (e.g. here), as well as the implementations of the Concurrency and Synchronization modules.