Context
Right now a harness user can click a button MARK_AS_FAILURE for a step which is currently under execution. This allows the user to stop the execution for a step whenever required.
Requirement
  • We want a step level MARK_AS_SUCCESS button to mark an executing step as success, similar to the mark as failure button for custom shell script step.
  • Currently, Harness does support mark as success, but that is only part of failure strategy and becomes applicable once a step is failed. Our requirement is to mark a step as success, while the step execution is in progress.
Expected Behaviour
  • Even though the step is executing some script, clicking on the MARK_AS_SUCCESS button should abort the step execution -> mark the step as success -> move ahead to execute the next step.
  • The step which is marked as success it should have clear indication showing this is marked as success mid execution, by which user and at what time. This indication should be different from how harness currently shows mark as success as part of failure strategy after a step is failed.
Where should this configuration exist?
This can be a step-level configuration, a Yes/No button while configuring a step.