antarctica / simple-action-pipeline

MIT License
1 stars 0 forks source link

Prevent "pipeline reset" from killing an active pipeline #21

Closed matscorse closed 2 weeks ago

matscorse commented 2 weeks ago

The "pipeline reset" command does not currently check to see if the target pipeline is still running or not. It simple halts the jug processes and clears the pipeline statefulness , thus resetting the pipeline.

The desired behaviour is:

  1. By default do not reset an already-running pipeline. (provided there is at least 1 active process).
  2. If the pipeline is complete and there are 0 active processes then it is okay to reset.
  3. Provide a command line flag which can 'force' a reset regardless.