Project

General

Profile

Actions

Bug #22222

open

"Copy and re-run process" doesn't work when workflow had secrets

Added by Brett Smith 3 months ago.

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

Description

Steps to reproduce:

  1. Run a workflow with secrets. Let it finish.
  2. In Workbench, "Copy and re-run process."
  3. Start the copied workflow without any input changes.

Expected result: The copied workflow finishes in the same way as the original.

Actual result: The copied workflow fails like this:

cwltool: Tool definition failed validation:
(140377977191744) (file:///var/lib/cwl/cwl.input.json) Validation error in field SECRET_INPUT_NAME:
  [Errno 2] No such file or directory: '/secrets/s0'

I'm filing this as a Workbench bug because I believe it shouldn't be possible to recover the secrets. So, Workbench needs to recognize that the original process had secrets, and either not offer the "copy and re-run" action in this case, or else prompt the user to re-enter required secrets.

No data to display

Actions

Also available in: Atom PDF