Feels like we've been over this
LOL, I think I can't wrap my head around the use case 🙂
When running locally, this is "out of the box", as we can init and close before and after each model.
I finally got it! Task.init
should be dubbed "init Main task" , automagic kicks in Only when it is the only one existing. You remote execution is "linear" Task after Task, in theory a good candidate for pipeline.
Basically option (2) , the main task is being "replaced" (which locally would be task.close), right?
Your use case is a good example of Task.create
use case (which you use), as it does n't mean it is the "main" Task, but as a result, all reports have to be done manualy.
How would you improve the current state? (take into account that when the agent spins the remote Task, it will continue to report console outputs, and monitor the status of the Original task)