Issue by mjgiarlo
_Friday Aug 26, 2016 at 20:46 GMT_
_Originally opened as https://github.com/projecthydra/sufia/issues/2571_
During our first Hydra-in-a-Box work cycle, we added the concept of operations to Hyrax, and made use of operations to surface more information about the batch create workflow.
An operation is a lightweight wrapper around potentially long-running processes. An operation can be in one of four states:
An operation can have children operations.
We probably need to clarify and document the design goals for operations.
cc: @mjgiarlo @jcoyne
Back in the pre-ActiveJob Sufia days, we were content to tell people "Just use the Resque UI for this."
I believe we initially undertook this work to expose background job status information to e.g. tenant administrators in Hyku. But I suspect that this information is useful more broadly to Hyrax admins (and possibly even end-users who want to know more about long-running work related to their content).
But I suspect that this information is useful more broadly to Hyrax admins (and possibly even end-users who want to know more about long-running work related to their content).
@mjgiarlo you suspect correctly - we have a ticket here at AIC to one day give users a better understand of those behind the scenes processes, and answer those "where's my stuff at" emails...
@samvera/hyrax-repo-managers @vantuyls I'm tempted to close out this and all related tickets; as well as deprecate all Operations. This work was just never finished and I can't see the advantage of picking it back up in its current form unless it has some adoption/extension I've not heard of.
Agreed, thanks @no-reply
@no-reply i can close this one, but can you find and close the related issues?
Most helpful comment
@samvera/hyrax-repo-managers @vantuyls I'm tempted to close out this and all related tickets; as well as deprecate all
Operations. This work was just never finished and I can't see the advantage of picking it back up in its current form unless it has some adoption/extension I've not heard of.