performs postprocessing (writing outputs back to Galaxy), and
creates $staging_dir/$job_id/postprocessed.
Because $persistence_dir/${manager}-active-jobs/$job_id is removed before postprocessing completes, it would presumably not attempt to retry postprocessing after a restart.
I can't investigate this fully at the moment but I suspect this is possible because after a job has left the cluster, Pulsar:
$staging_dir/$job_id/final_status
with contents"complete"
,$persistence_dir/${manager}-active-jobs/$job_id
,$staging_dir/$job_id/postprocessed
.Because
$persistence_dir/${manager}-active-jobs/$job_id
is removed before postprocessing completes, it would presumably not attempt to retry postprocessing after a restart.EDIT: this definitely happens.