Mistral should not be able to rerun task with on-error branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
New
|
High
|
Oleg Ovcharuk |
Bug Description
If the task has either "on-error" branch, we should not be able to rerun it.
Let's consider this example:
{
"version": "2.0",
"wf": {
"tasks": {
"t1": {
},
"t2": {
},
"t3": {
}
}
}
}
If t1 failed, wf will be failed by t2. In this situation we can rerun t1, and there will be 2 similar on-error branches. We can do it multiple times and there will be many equal branches from 1 task.
Let's imagine that one more rerun changed the situation and t1 was completed successfully. So there are multiple on-error branches and one on-success branch from one time on the same time!
This is not OK. Rerunning tasks with already handled errors should be restricted.
Changed in mistral: | |
milestone: | none → ussuri-1 |
assignee: | nobody → Oleg Ovcharuk (vgvoleg) |
importance: | Undecided → High |
summary: |
- Mistral should not be able to rerun task with on-error/on-complete - branches + Mistral should not be able to rerun task with on-error branch |
description: | updated |
Changed in mistral: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in mistral: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in mistral: | |
milestone: | ussuri-3 → ussuri-rc1 |
Changed in mistral: | |
milestone: | ussuri-rc1 → victoria-1 |
Changed in mistral: | |
milestone: | victoria-1 → wallaby-1 |