https://github.com/legend-exp/legend-dataflow/blob/main/workflow/src/legenddataflow/scripts/complete_run.py#L197