Sean Turner
10/07/2022, 5:35 PMflow
(foo
) is running and a new deployment is created that changes the flow code that foo
was executing.
QUESTION 1: Would foo
continue to execute and ignore the new deployment?
Also, what happens if foo
intends to trigger a sub flow
(bar
), but a new deployment is created that changes the flow code that bar
would execute?
So the timeline is
a. flow
foo
is triggered
b. sub flow
bar
is updated (sub flow id changes from 123
to 456
)
c. foo
gets to the point in execution where bar
is called.
QUESTION 2: Would foo
trigger the newly updated bar
code 456
? Or would foo
ignore the change to sub flow
bar
and trigger 123
as foo
was triggered before bar
was updated?Nate
10/07/2022, 5:53 PMbar
was a standalone deployment and foo
was creating flow runs of bar
via the client (or the new utility available in 2.5), and bar
happened to be updated during a run of foo
, then foo
would call the newest bar
(i.e. foo
would always call the newest bar
via the client)Sean Turner
10/07/2022, 5:59 PMbar
would be a stand alone deployment probably because we want it to be running a different infra block
on EKS so that the docker image is different