XIAO unreliable uploading - the story continues

Frustratingly, code only uploads after a number of tries (using Arduino IDE). I see this type of issue has been found by others for over a year now, but I have not been able to find a solution.

Could be useful, but it’s reliability issues means I am no longer using these devices but will stick to STM and ESP’s as I don’t have any of these issues.