In the client we'd like to estimate time remaining to process a stage. To do that we need to track how long it takes each harvest item to be processed.
[ ] add a last_new_status_at field that records whenever status is changed to :new we can use the difference between that and updated_at to calculate processing time.
[ ] Potentially worth tracking another date stamp as well that records how long an item spent in queue
[ ] Add time spent in current stage to harvest report
[ ] Add estimated time remaining in current stage to harvest report
In the client we'd like to estimate time remaining to process a stage. To do that we need to track how long it takes each harvest item to be processed.
last_new_status_at
field that records wheneverstatus
is changed to:new
we can use the difference between that andupdated_at
to calculate processing time.