Project

General

Profile

Actions

Bug #20985

open

Setting priority 0 on a queued container should change it to "cancelled" state

Added by Peter Amstutz 7 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
-

Description

A container in "queued" state with priority 0 can technically be restarted and is currently displayed in Workbench 2 as "on hold".

It can technically be started by raising the priority to non-zero, so there is a "Run" button.

This is extremely confusing. All priority 0 container requests should be shown as either "cancelling" (if the container hasn't ended yet, e.g. Locked or Running) or "cancelled" (when nothing is running).

This behavior has also caused problems for the user.

They submitted a workflow, and it created a workflow step that was committed but never started.

They cancelled the workflow, which (under the current logic) put the container "on hold".

Later, they submitted mostly the same workflow, but with a change to the keep cache setting.

Currently, we don't consider keep cache as part of container reuse.

As a result, the first "on hold" container was reused, but with a different keep_cache setting than the user asked for the 2nd time.

As a result, the user got different a different keep_cache setting than the expected.

We should probably revisit the role of keep cache in container reuse decisions, but if the first container had been cancelled instead of put on hold, it would have also avoided this problem.

Actions #1

Updated by Peter Amstutz 7 months ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz 7 months ago

  • Target version changed from Future to Development 2023-10-11 sprint
Actions #3

Updated by Peter Amstutz 7 months ago

  • Category changed from Workbench2 to API
  • Subject changed from Priority 0 containers in queued state should be shown as "cancelled" to Setting priority 0 on a queued container should change it to "cancelled" state
Actions #4

Updated by Peter Amstutz 7 months ago

  • Target version changed from Development 2023-10-11 sprint to Development 2023-10-25 sprint
Actions #5

Updated by Peter Amstutz 7 months ago

  • Target version changed from Development 2023-10-25 sprint to Development 2023-11-08 sprint
Actions #6

Updated by Peter Amstutz 7 months ago

  • Description updated (diff)
Actions #7

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2023-11-08 sprint to Development 2023-11-29 sprint
Actions #8

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2023-11-29 sprint to Development 2024-01-03 sprint
Actions #9

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2024-01-03 sprint to Future
Actions

Also available in: Atom PDF