Project

General

Profile

Actions

Feature #19295

closed

Show container request "reused" status

Added by Peter Amstutz almost 2 years ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
1.0
Release relationship:
Auto

Description

Workbench should indicate when a child workflow step was reused. This can be determined by checking if the container was created before the container request, e.g.

container.created_at < container_request.created_at

I think the best way to show this would be to display as a "Reused" status (in the same list as "Queued" "Running" "Complete" "Failed" etc).

However, since it's possible to share incomplete containers as well, it should only do this for containers that would otherwise show as "Complete". Containers which are in Queued/Running/Failed state should still show their state.


Subtasks 1 (0 open1 closed)

Task #20275: Review 19295-reusedResolvedPeter Amstutz03/28/2023Actions

Related issues

Related to Arvados - Idea #20287: Cancel button on WB2 should be filled inDuplicateActions
Related to Arvados - Idea #20291: Add a re-used label for processes that are reused in WB2DuplicateActions
Actions #1

Updated by Peter Amstutz almost 2 years ago

  • Description updated (diff)
  • Subject changed from Container request "reused" status to Show container request "reused" status
Actions #2

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2022-08-17 sprint to 2022-08-31 sprint
Actions #3

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2022-08-31 sprint to 2022-09-14 sprint
Actions #4

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2022-09-14 sprint to 2022-09-28 sprint
Actions #5

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2022-09-28 sprint to 2022-10-12 sprint
Actions #6

Updated by Peter Amstutz almost 2 years ago

  • Target version changed from 2022-10-12 sprint to 2022-10-26 sprint
Actions #7

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-10-26 sprint to 2022-11-09 sprint
Actions #8

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-11-09 sprint to 2022-11-23 sprint
Actions #9

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-11-23 sprint to 2022-12-07 Sprint
Actions #10

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-12-07 Sprint to 2022-12-21 Sprint
Actions #11

Updated by Stephen Smith over 1 year ago

  • Story points set to 1.0
Actions #12

Updated by Stephen Smith over 1 year ago

  • Story points changed from 1.0 to 2.0
Actions #13

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2022-12-21 Sprint to 2023-01-18 sprint
Actions #14

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2023-01-18 sprint to 2023-02-01 sprint
Actions #15

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2023-02-01 sprint to 2023-02-15 sprint
Actions #16

Updated by Peter Amstutz over 1 year ago

  • Target version changed from 2023-02-15 sprint to 2023-02-01 sprint
Actions #17

Updated by Peter Amstutz over 1 year ago

  • Release set to 59
  • Target version deleted (2023-02-01 sprint)
Actions #18

Updated by Peter Amstutz over 1 year ago

  • Target version set to To be scheduled
Actions #19

Updated by Peter Amstutz over 1 year ago

  • Story points changed from 2.0 to 1.0
  • Target version changed from To be scheduled to Development 2023-04-12 sprint
  • Assigned To set to Peter Amstutz
Actions #20

Updated by Peter Amstutz over 1 year ago

19295-reused @ 756da23ade34fd225e80e448fb27795d453294c6

  • Show "Reused" process state when container.finished_at < container_request.created_at

I didn't compare on createdAt because the container can have a slightly earlier creation time when it is created in the same transaction as the container request. I chose to use finishedAt because most people will assume "reused" means no additional work needed to be done, so while it's possible to share a running container, calling it "reused" in that case is more likely to be confusing.

developer-tests-workbench2: #1173

Actions #21

Updated by Lucas Di Pentima over 1 year ago

Some comments:

  • There're many compiler warnings that probably come from the previously merged branch that would be nice to fix.
  • The update works OK but as it is, it creates a disconnect between all the available Status and the status filtering capabilities.
    • It may be confusing to the user to request listing only Completed process and reading another label.
    • They may even they want to only list the reused processes, to quickly assess how much work Arvados saves them.

Other than that, it LGTM.

Actions #22

Updated by Peter Amstutz over 1 year ago

from review discussion, should also have a "cancelling" state when it is priority=0 but still running.

Actions #23

Updated by Peter Amstutz over 1 year ago

The way the filter dropdown is set up, changing it to say "Completed and Reused" is actually sort of complicated, so I choose not to do it. We can revisit it if there is feedback about it.

We don't have a way purely with an API query to filter on reused/not reused processes.

I made a few other changes:

  • Added "Cancelling" state for when the cancel button has been pushed (priority=0) but it is still running
  • Tweaked the styling of the cancel button
  • Tweaked the "Type" filter to reflect the relative ordering of workflow runs vs workflow definitions (the group contents API returns workflow definitions after workflow runs, unfortunately)
  • Made intermediate and log collections hidden by default (this greatly reduces the clutter in the default view).

I verbally discussed these changes with the team, and since they are fairly low-risk changes I went ahead and merged this.

Actions #24

Updated by Peter Amstutz over 1 year ago

  • Status changed from New to Resolved
  • Subject changed from Show container request "reused" status to Show container request "reused" status
Actions #25

Updated by Peter Amstutz over 1 year ago

  • Related to Idea #20287: Cancel button on WB2 should be filled in added
Actions #26

Updated by Peter Amstutz over 1 year ago

  • Related to Idea #20291: Add a re-used label for processes that are reused in WB2 added
Actions #27

Updated by Peter Amstutz 2 months ago

  • Release set to 63
Actions

Also available in: Atom PDF