datashare icon indicating copy to clipboard operation
datashare copied to clipboard

Implement task progress for pipeline tasks

Open bamthomas opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

When AMQP has been integrated to datashare, task progress has been changed and the updateCallback(double) is not called anymore.

So the task progress is not shown to the user anymore.

We briefly tested that the chain to the UI is still working, we just have to call the update function.

Describe the solution you'd like

We'd have to call the update callback for each pipeline task. There are 2 cases :

  1. for Index and Scan the best solution would be to pass the callback to extract and let extract call the progress
  2. for the other tasks there is an inner loop that could call the progress callback

Describe alternatives you've considered

It could be done also for Index and Scan with a background thread but it is heavier and more complex.

Additional context

It is called for BatchDownloadRunner and BatchSearchRunner tasks.

bamthomas avatar Jul 24 '24 10:07 bamthomas

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Sep 03 '24 00:09 github-actions[bot]