Closed josephjclark closed 4 weeks ago
Hey @mtuchi is there any chance you can run a test of this for me?
You'll need to install openfnx from this branch and run a workflow through the CLI. It should work for any workflow where you want to call the same step from multiple places
@josephjclark my initial test passed 👍🏽, i want to test important behaviors that you described in depth i will share more feedback later today
This PR enables the runtime call each step multiple times.
Each time a step is called, it passes its output to any downstream steps, and so the downstream steps are run multiple times.
It basically treats a repeated step as if it were a unique step in the workflow. So if step
x
is run twice, the runtime basically runsx-0
andx-1
as if there were defined on the plan. Note that actually callx-0
x
, because otherwise 8 million tests break. And I think it's a bit cleaner?Issue
Closes #698
Changes
Important Behavioural notes
These are the rules of this feature:
start -> a -> b -> x -> x
{ data: {} }
{ a: { data: {}, b: { data: {}, 'b-1': { data: {} } }