Closed afontenot closed 1 year ago
Patch coverage has no change and project coverage change: +0.01
:tada:
Comparison is base (
46eceb0
) 43.73% compared to head (3f52efc
) 43.74%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Fixed - I think the test failure is bogus.
Yes, some tests are flaky
The reason this bug has happened is that all progress bar handlers are identical, but the code is duplicated all over the place. So I probably just missed that one the last time I touched the code. To prevent this from happening in the future, would you mind factoring them out into their own function? I'm thinking about something with the following signature: fn create_progress_handler(pb: ProgressBar) -> impl FnMut(u64, u64)
, next to create_progress_bar
Change the receiving end progress bar so that, like the sending end, it will only be updated every 250 ms. This avoids extremely rapid flickering that makes the ETA very hard to read.