:( Today I must have spent an extra +20 minutes on this >:(
Which would pbly add up to hours/days over the years. There are some hardware like the ESP8266 Wemos which fails to upload more often than not. The success rate is about 7/1 yeah... before you suggest that it's an issue with the hardware I have dozens of these and it's the same for all.
Also I saw another topic where the @p request it for the code not to be recompiled each and every single time when there is no change this just makes the situation worse.
There should be an autoretry on uploads with a number to set between 0-999 it would save us tons of time.