Task execution is not created if task inputs are invalid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Renat Akhmerov |
Bug Description
When task inputs are incorrect - no task execution is created for that task.
I believe that the correct behaviour should be that there is a task execution for the failed task - and the state should be ERROR and the state info should contain the reason.
---
version: '2.0'
test_next_
tasks:
task_one:
action: std.noop
on-success:
- task_two
task_two:
action: std.echo message='<% $.non_existing_
mistral task-list
+------
| ID | Name | Workflow name | Execution ID | State | State info |
+------
| bcf27629-
+------
mistral execution-list
+------
| ID | Workflow | Description | State | State info | Created at | Updated at |
+------
| 78c8be6f-
+------
Changed in mistral: | |
assignee: | nobody → hardik (hardik-parekh047) |
Changed in mistral: | |
milestone: | none → ocata-1 |
assignee: | Hardik Parekh (hardik-parekh047) → Renat Akhmerov (rakhmerov) |
importance: | Undecided → Medium |
Changed in mistral: | |
milestone: | ocata-1 → ocata-2 |
description: | updated |
+1 for 'create task execution is a correct behavior'
recently a similar but had been fixed on execution. Let's do same for tasks.