What happens if the agent dies in the middle of a flow? Will the flow continue when a new agent comes online or will the flow error out?
c
Chris White
03/05/2021, 1:50 AM
Once the flow has begun running, the agent is not involved in any way so things will continue as expected; the agent’s only job is to create the job for the flow run and make sure it’s healthy
t
Trevor Kramer
03/05/2021, 1:51 AM
So it should be safe to run the agent (in hybrid mode) in a spot instance? Any reason other than potential delays this would cause a problem?
c
Chris White
03/05/2021, 1:52 AM
yup that sounds like a great idea to me! As you mention, delays could occur if the instance gets taken down but other than that you should be good to go
t
Trevor Kramer
03/05/2021, 1:52 AM
Thanks!
c
Chris White
03/05/2021, 1:56 AM
Anytime! It’s a good question so I’m going to archive to GitHub for others to find
@Marvin archive “What happens if the agent dies in the middle of a flow run?”