Skip to content

source workflowsΒ #548

@oliver-sanders

Description

@oliver-sanders

At present the UI can only see installed workflows (either running or stopped).

  • We should add the ability to install workflows from source (e.g. to re-run a workflow).
  • We should add the ability to reinstall workflows from source (i.e. in order to do a reload).

So how should source workflows fit into the UI?

Here is my proposal:

  • List all un-installed workflows in GScan.
  • (Uninstalled workflow list from the configured Cylc source dir(s) - to be done by the UIS via cylc scan).
  • Add "is installed" as a field to the flow filtering options.
  • Display only installed flows by default.
  • Users could exploit the existing search functionality to find workflows.

This would create a landing page for the source workflow:

  • The landing page should default to a file browser as the default view.
  • This page can be used for editing workflow files (flow.cylc, rose-suite.conf, etc).
  • Source directories should have a special icon to distinguish them from workflow dirs (not implemented in sketch below).
  • This would provide a smooth transition from editing the source, to (re)installing the flows.
  • We could plug in basic version control operations later on.
  • When we have version control information we can mark workflows which were installed from a previous revision differently until re-installed.

cylc-install

  • This provides a single, simple interface to Cylc/Rose with the bare minimum of clicks from source -> running.
  • Given the search and filter functionality already implemented in GScan this should be suitable to heavy usage too.
  • Future enhancements would add to the complexity of GScan, but, would also yield benefits to beyond source dirs.

The only big design barrier to overcome is that this restricts us to use the same name in the source and run dies (which I am actually ok with and have argued for in the past). If we can’t go with this then we will need a bit of UI magic to make this problem go away...

(assigning myself until the question label is removed or this issue closed)

Metadata

Metadata

Labels

designquestionFlag this as a question for the next Cylc project meeting.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions