Hi John. It turns out that the task that ended was the pipeline step. Apparently since I create the task that I then run with clearml-agent execute, in the step, it has to remain running. I added task.wait_for_status() at the end of the step and now my pipeline works.
I have another question: Do you know if it is possible to use PipelineDecorator.component as a class decorator?