aerie icon indicating copy to clipboard operation
aerie copied to clipboard

Mark simulation as failed if error occurs while claiming a simulation

Open mattdailis opened this issue 2 years ago • 1 comments

There's currently a narrow window between when the merlin-worker sets the simulation_dataset status to incomplete, and when it actually starts a simulation. If an error occurs in this window, the worker simply crashes, and does not update the simulation status.

This ticket would be satisfied by catching errors that occur in this window and marking the simulation as failed, and updating the reason as well.

mattdailis avatar Feb 21 '23 22:02 mattdailis

Possibly related? https://github.com/NASA-AMMOS/aerie/issues/613

camargo avatar Feb 21 '23 22:02 camargo