@JackJohansson yeh rule of thumb is that anything related to multitasking in PHP is likely to behave differently on windows. I think that even flock, on windows you can't use it twice on the same file while you should be able to do it on linux
in a way the posix functions are easier because you just know you can't use them. The ones that are not documented that they might work differently are the bigger problem
problem with wsl2 is that access to files which are on the proper windows file system is slower, something you might not feel when accessing one file at a time, but it does slow down things like phpunit
btw @TomJNowell, do you have any idea if WP 5.8 is compatible with MySQL 8? I am getting some unit test failures related to meta queries
@TomJNowell it is a bug in core if core says it support mysql 8. First ticket I added not very nice. The second is a use case I never saw so not sure how important it is but it does fail phpunit test which means it needs to be solved or tests removed.
and mariadb... well those are the exact same guys which started mysql with some weird dual license so not sure they are saints :)
and just to be 100% clear, it is core tests which fail, not tests against my code