It seems that when a job is done, progress information is hard-coded to be completed=1, total=1. This removes any information in the progress set before.
I suggest we change this so that we set that completed=total, and percent=100.
I'm fine with that. This "feature" was never documented or spec'ed one way or the other, so nobody should have written any code to depend on the current, arguably incorrect, behavior.
It seems that when a job is done, progress information is hard-coded to be completed=1, total=1. This removes any information in the progress set before.
I suggest we change this so that we set that completed=total, and percent=100.
I would change:
To: