Feature Manual Intervention options
long-term
A
Aesthetic Gecko
Requesting a feature that allows me to choose which of the manual intervention options will be available for users (devs) to choose from.
Currently in manual intervention, devs can mark as:
->abort (which will not trigger the rollback, much less denounce the canary deployment).
->success (allowing errors and/or anomalies that should not be masked)
The two actions above take away the reliability of my delivery and could leave a failed canary impacting Localiza users and masking failures or critical anomalies in our production environment.
And even with the information about failures or anomalies we have cases where it could be a false positive and the reason for having manual intervention, however we understand that only "ignoring errors" is appropriate and even so we can measure the quantities via dashboards of ignored failures for possible improvement actions in the CV steps.
Desired behavior:
I would like that when configuring a manual intervention in a failure strategy, select which actions (ignore the error, mark success, etc.) will be available for the user (dev) to choose during the execution of that failure strategy, for example allowing it to be available just ignore the error and roll back the stage, thus ensuring greater reliability in our software delivery.
Log In
Rohan Gupta
Merged in a post:
Manual Intervention on Failure: Ability to restrict what resoultions the operator can select
J
Jasmine Salamander
Harness supports the Manual Intervention option as a failure strategy for steps, step groups, or entire pipeline stages.
When a failure causes the pipeline to pause waiting for manual intervention, a list of options is offered including "Rollback Stage", "Mark as Failure", "Ignore Failure", etc. Depending on how the pipeline and deployment environment are designed, not all options may be appropriate. For example, company procedures may require that no deployment proceeds to production without passing tests. If tests fail, we want to offer the operation the option to retry, but NOT to "Mark as Success", "Proceed with Default Values", etc.
In other scenarios, "Rollback Stage" may not accomplish anything (for example, in a separate stage that contains only test run steps), but "Rollback Pipeline" would (see https://ideas.harness.io/feature-request/p/manual-intervention-on-failure-ability-to-select-rollback-pipeline-as-resolution for Manual Intervention not supporting "Rollback Pipeline" as a choice). Being able to remove "Rollback Stage" from the list of selectable options would reduce the risk of operators accidentally selecting the wrong one of two similarly-named operations.
Harness should allow pipeline designers to specify a list of allowed actions for the Manual Intervention strategy at the pipeline design time. When the pipeline pauses on a failure during execution, the operator should only be presented with the configured list of allowed options to select from.
Prasad Satam
long-term
Prasad Satam
under review