I'm not exactly sure of the severity of this since I haven't dug deeper yet.
Media uploads are retried only once.
Media uploads are retried multiple times.
Here is a video which shows that multiple network requests are triggered for one media.
Add a breakpoint in:
Run in Xcode. I used develop (38b278b207).
I tried adding 2 images and the breakpoint was hit about 5 times. So it gets progressively worse.
Tested on iPhone XS Simulator, iOS 12.4, develop (38b278b207).
My guess (without looking into the coe) is that this is causes by both PostCoordinator and MediaCoordinator trying to upload them — PostCoordinator sees a post with failed Media, so it tries to upload it, but at the same time, the MediaCoordinator tried to do the same.
@leandroalonso , is this fixed with https://github.com/wordpress-mobile/WordPress-iOS/pull/12416 ?
@yaelirub I'm not able to reproduce it anymore in develop.
@shiki Do you want to double-check or can we just close this issue?
I'll look into it.
Seems to be fixed in develop (1cac04f61f). 😌