-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix sync progress tracking overflow #10561
Fix sync progress tracking overflow #10561
Conversation
Build Artifacts
|
976ed70
to
f4d268c
Compare
f4d268c
to
a4d582b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that now the progress bar never runs over 100%. At the same time in all my tests it goes from 0 to 50% and then it finishes without showing any other percentage values, such as 75% for example:
2023-08-15_15-57-29.mp4
Hrm, not a roaring success then! I'll see if I can get 100% all the way! |
Debug loudly to alert devs.
a4d582b
to
95ba857
Compare
This should now be correctly reaching 100%: Screencast.from.08-22-2023.01.00.30.PM.webm |
@rtibbles I confirm, this is working correctly now, never going over 100% as well: 2023-08-23_14-23-57.mp4 |
Summary
This made sense when I first made the changes. Then looking back through, it doesn't seem that it actually does anything differently than before. It does seem to work though:@rtibbles has now updated this. This seems to make more sense, as it seemed to be an issue with
start_progress
being called outside the context of the signal handlers, so the progress total was being rapidly set to 2, then 100, then 2 - and then never being reset.References
Fixes #10077
Reviewer guidance
…
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)