Hey, not very familiar with this part of the codebase, but did an attempt to review it as part of r-g-31.
Commit e0049ef022b8bf LGTM. I liked the trick with bf74194f unintend that code section on its own commit. I think we should also remove max_failures from download_status_is_ready() tho.
I'm a bit curious on why we needed to do 5b55e15 if the function works fine and we had tests for it. Is it to simplify the code? Should we do it as part of another ticket, or we feel fine doing it in this one? Code looks reasonable anyhow. We should also remove mention of max_delay from func doc of next_random_exponential_delay().
Marking this as needs_rev for the trivial fixes above. Feel free to put it in merge_ready after that.
I'm a bit curious on why we needed to do 5b55e15 if the function works fine and we had tests for it. Is it to simplify the code? Should we do it as part of another ticket, or we feel fine doing it in this one? Code looks reasonable anyhow. We should also remove mention of max_delay from func doc of next_random_exponential_delay().
I'm fine removing max_delay it in this ticket -- My rationale was that with the removal of , it was never anything besides INT_MAX, and so wasn't actually serving any purpose.
Okay, I've tried to remove max_failures. In doing so, I discovered that a bunch of testing options were now obsolete, and so obsoleted them. See ticket23814 again? This is complicated enough that I don't think it should go right back into merge_ready