-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): missing subflow can lead to infinite loop (#2178)
- Loading branch information
1 parent
fef619b
commit 7267811
Showing
4 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
core/src/test/resources/flows/valids/each-parallel-subflow-notfound.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
id: each-parallel-subflow-notfound | ||
namespace: io.kestra.tests | ||
|
||
tasks: | ||
- id: 1_each | ||
type: io.kestra.core.tasks.flows.EachParallel | ||
value: | ||
- value-1 | ||
- value-2 | ||
tasks: | ||
- id: subflow-not-exist | ||
type: io.kestra.core.tasks.flows.Flow | ||
flowId: "{{ taskrun.value }}" | ||
namespace: dev | ||
wait: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters