Workflow Policies
We need an ability to define policies for workflow failures.
What happens when workflow fails?
* Introduce workflow-level policy: failure-policy: suspend | fail | retry | rollback
* default: fail (need more states...)
* retry: allow fixing the problem and resuming
Generally, it's not only about failures but rather about any event happening with tasks. More details on that at https:/
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- Medium
- Drafter:
- Renat Akhmerov
- Direction:
- Needs approval
- Assignee:
- Nikolay Makhotkin
- Definition:
- New
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- 0.1
- Started by
- Renat Akhmerov
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Adjusting policy interfaces
Addressed by: https:/
Including "policies" into task and workflow specs
Addressed by: https:/
Fixing workflow spec to return start task spec instead its name
Addressed by: https:/
Adding "wait-before" and "wait-after" to task policies
Addressed by: https:/
Renaming 'on-finish' to 'on-complete' in task spec
Addressed by: https:/
Refactoring engine to build and call task policies
Work Items
Dependency tree
* Blueprints in grey have been implemented.