sacredboard icon indicating copy to clipboard operation
sacredboard copied to clipboard

Deleting an Experiment Run

Open chovanecm opened this issue 8 years ago • 9 comments

The user indicates he wants to delete a particular experiment run.

  1. The user selects the experiment to delete. (by opening its detail view).
  2. The system shows a delete option in the detail view. (left-bottom under the menu).
  3. The tells the system to delete the experiment. (clicking on a delete button in the left-bottom)
  4. The system verifies the intention to delete the experiment. (a confirmation dialog)
  5. The user confirms his choice.
  6. The system deletes the run. (invoking DELETE on /api/run/<id>, which also deletes corresponding metrics, fs.files, and all other related entries).
  7. The system closes the detail view.
  8. The system removes the run from the table.

Postconditions:

  1. [x] The run is deleted.
  2. [x] Related metrics are deleted.
  3. [ ] Related sources are deleted.
  4. [ ] Related artifacts are deleted.

Alternative scenarios

    • The user does not confirm the choice - the run won't be deleted. (Postconditions do not apply)
    • The run couldn't be deleted. The user is informed with an alert box.

chovanecm avatar Jul 07 '17 18:07 chovanecm