Hyrax: Implement operations functionality and UI

Created on 22 Dec 2016  路  6Comments  路  Source: samvera/hyrax

Issue by mjgiarlo
_Friday Aug 26, 2016 at 20:46 GMT_
_Originally opened as https://github.com/projecthydra/sufia/issues/2571_


Description

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:

  1. pending: the operation has not yet begun
  2. performing: the operation is being performed
  3. success: the operation is done and it did what the user expected
  4. failure: the operation is done and it didn't do what the user expected

An operation can have children operations.

Subtasks

  • [ ] [Background jobs should be wrapped by operations](https://github.com/projecthydra-labs/hyrax/issues/160)
  • [ ] [Add logs/status for batch and item level operations](https://github.com/projecthydra-labs/hyrax/issues/118)
  • [ ] [Dashboard should allow users the ability to list and show operations they created](https://github.com/projecthydra-labs/hyrax/issues/161)
  • [ ] [Admin Dashboard should allow the ability to list and show all operations](https://github.com/projecthydra-labs/hyrax/issues/162)
enhancement epic feedback needed

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.

All 6 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcoyne picture jcoyne  路  5Comments

revgum picture revgum  路  6Comments

chrisdaaz picture chrisdaaz  路  6Comments

carolyncole picture carolyncole  路  4Comments

mjgiarlo picture mjgiarlo  路  4Comments